Skip to content
Snippets Groups Projects

Resolve "B_020_R1 Fix General Question: Default Notes question"

Merged Noel Simmel requested to merge 1264-b_020_r1-fix-general-question-default-notes-question into main
All threads resolved!

Closes #1264 (closed)

Issue was:

The wording of the daily notes question changes upon transmission from HCP to PAT.

HCP wording (desired): What else happened today?

PAT wording: Daily notes

Reason:

There are 2 questions with the same ID DAILY_NOTES_ID: In CuratedDefaultQuestionStoreService (HCP wording) and in StarterQuestionStoreService (PAT wording). On transmission, ImportQuestionStoreService.addQuestionConfig() only adds transmitted questions if their ID isn't in the QuestionnaireService. Since the daily notes question is in PAT by default (via StarterQuestionStoreService), nothing is added/updated.

Fix:

Delete daily notes from StarterQuestionStoreService.

Import CuratedDefaultQuestionStoreServiceModule (which includes the daily notes) in PAT base features.

In testing, the behavior was the same as before except for the wording switch. The daily notes are still 1 question that is shared across all symptom checks.

Don't forget to import MockRccPublicRuntimeConfigModule into RccBaseFeaturesModule

Edited by Noel Simmel

Merge request reports

Checking pipeline status.

Merged by Carlos SanchezCarlos Sanchez 6 months ago (Sep 13, 2024 11:55am UTC)

Loading

Pipeline #14938 passed

Pipeline: Rcc Client

#14940

    Pipeline: Rcc Client

    #14939

      Pipeline passed for 811702b5 on main

      Activity

      Filter activity
      • Approvals
      • Assignees & reviewers
      • Comments (from bots)
      • Comments (from users)
      • Commits & branches
      • Edits
      • Labels
      • Lock status
      • Mentions
      • Merge request status
      • Tracking
    • LGTM. Actually, by testing this issue, I found one little problem with the categories in the daily run query!

    • Carlos Sanchez approved this merge request

      approved this merge request

    • Carlos Sanchez mentioned in commit 811702b5

      mentioned in commit 811702b5

    • Noel Simmel resolved all threads

      resolved all threads

    • Please register or sign in to reply
      Loading