Closed kbertodatti closed 1 month ago
CQL is updated and tested, history is now included within the ObservationSummary for both labs and vitals.
export interface ObservationSummary { DisplayName: string, ConceptName: string, Date?: string, ResultText: string, ResultValue?: number, ResultUnits?: string, ReferenceRange?: string, Interpretation?: string, Flag?: boolean, Performer?: string, Notes?: string[], Provenance?: ProvenanceSummary[], LearnMore?: string, History?: ObservationHistory[] }
export interface ObservationHistory { Date?: string, ResultText: string, }
Tested by adding the history list at the bottom of each lab or vital in the display. First screenshot from MELD CarePlanning data, second screenshot from Epic Sandbox
As a patient, when I click on the card for one lab, it will expand to show the 10 most recent readings.
Update CQL logic to provide a list of historical summaries. Disclaimer (History from that provider)