What needs to be done
Recently, a FHIR converter PR added the possibility of multiple notes in a Condition resource. This results in issues when evaluating the notes column in the Active Problems table because it expects only one result (but can get multiple). Please fix so that all notes are displayed in the Viewer, and not just the first.
Example eCR: admission diagnosis 2 (Peach Ice Tea) -- see Sharepoint -> Cleared eCR Test Data

Example: Condition resource note field (multiple)
"note": [
{
"text": "Note 1"
},
{
"text": "Note 2"
}
],
Why it needs to be done
Bug found -- non-breaking, but additional notes for certain active problems are not displaying.
Acceptance Criteria
GIVEN a Condition resource that has multiple notes (see example below)
Technical Notes
FHIR conversion should NOT be required for this ticket. Note that it is valid FHIR for the notes field to be an array of Annotations. We just need to figure out a way to display all possible notes (separate notes with a line break in the Viewer?). Ask Chinelo if design updates are needed.
FHIR R4 Condition Resource - Link
Additional context
FHIR converter PR that added more notes: https://github.com/CDCgov/dibbs-FHIR-Converter/pull/143/changes
What needs to be done
Recently, a FHIR converter PR added the possibility of multiple notes in a Condition resource. This results in issues when evaluating the notes column in the Active Problems table because it expects only one result (but can get multiple). Please fix so that all notes are displayed in the Viewer, and not just the first.
Example eCR: admission diagnosis 2 (Peach Ice Tea) -- see Sharepoint -> Cleared eCR Test Data
Example: Condition resource note field (multiple)
Why it needs to be done
Bug found -- non-breaking, but additional notes for certain active problems are not displaying.
Acceptance Criteria
GIVEN a Condition resource that has multiple notes (see example below)
Technical Notes
FHIR conversion should NOT be required for this ticket. Note that it is valid FHIR for the notes field to be an array of Annotations. We just need to figure out a way to display all possible notes (separate notes with a line break in the Viewer?). Ask Chinelo if design updates are needed.
FHIR R4 Condition Resource - Link
Additional context
FHIR converter PR that added more notes: https://github.com/CDCgov/dibbs-FHIR-Converter/pull/143/changes