What needs to be done
When Reason for Visit and Clinical Notes sub-sections only contain text from the list of unavailable terms, they are still displayed under the Clinical Info section rather than under the Unavailable Info section. This is likely due to a mismatch between how evaluateNotes formats data and how evaluateData determines whether content is available.

Why it needs to be done
Viewer should properly filter out sections with unavailable info.
Acceptance Criteria
Technical Notes
In clinical-data.tsx, see:
clinicalNotes and reasonForVisitData in evaluateClinicalData function
evaluateNotes function
Additional context
To view bug:
- View
Minch Yoda test eCR
- Scroll to Clinical Info section -> Clinical Notes and/or Reason for Visit
- Displays
No Information when these sub-sections should have only appeared in the Unavailable Info section
What needs to be done
When
Reason for VisitandClinical Notessub-sections only contain text from the list of unavailable terms, they are still displayed under the Clinical Info section rather than under the Unavailable Info section. This is likely due to a mismatch between howevaluateNotesformats data and howevaluateDatadetermines whether content is available.Why it needs to be done
Viewer should properly filter out sections with unavailable info.
Acceptance Criteria
Technical Notes
In
clinical-data.tsx, see:clinicalNotesandreasonForVisitDatainevaluateClinicalDatafunctionevaluateNotesfunctionAdditional context
To view bug:
Minch Yodatest eCRNo Informationwhen these sub-sections should have only appeared in the Unavailable Info section