-
Notifications
You must be signed in to change notification settings - Fork 2
Description
What needs to be done
Currently we do not FHIR convert nor display author time in the eCR Viewer. See below:
Why it needs to be done
UAT Request
Acceptance Criteria
- Add FHIR conversion for author time
- Update FHIR converter snapshot and unit tests
- Add author time to the eCR Viewer (
eICR Author Details for Practitioner) - Update any relevant eCR Viewer snapshot/unit tests
Designs needed
Time will likely be recorded as a column in the eCR Author Details for Practitioner sub-section. Please consult with Chinelo about where it should live.
Technical Notes
FHIR conversion IS required for this ticket. I'm slightly unsure where it should go (since PractitionerRole &Practitioner and Organization don't have an equivalent time-related field) -- but one idea is to create a FHIR Provenance resource to record who authored the document and when. This still needs some more research though; see FHIR documentation links below.
FHIR converter relevant files:
- data/Templates/eCR/Header.liquid (where author-related resource get created)
FHIR documentation:
- https://build.fhir.org/ig/HL7/ccda-on-fhir/CF-participations.html#mapping-functioncode--time
- https://build.fhir.org/provenance.html
eCR Viewer relevant files:
eCRMetadataService.ts->evaluateEcrAuthorDetails
Additional context
Example eCRs: TN Apple Dumplin, Orange Blossom, Tangerina Torta, and Blueberry Muffin
