CDCgov / prime-reportstream

ReportStream is a public intermediary tool for delivery of data between different parts of the healthcare ecosystem.
https://reportstream.cdc.gov
Creative Commons Zero v1.0 Universal
72 stars 40 forks source link

Update HL7 to FHIR mappings with a consistent strategy for date and datetime values #16604

Open jack-h-wang opened 6 days ago

jack-h-wang commented 6 days ago

User Story

As an RS engineer, I want date and datetime values to be handled uniformly so that transforms can be performed consistently.

Description/Use Case

The HL7 to FHIR mappings with regard to date and datetime values have generally been implemented ad hoc, which makes transforms involving all datetimes (e.g. timezone adjustments) difficult. A dedicated mapping to convert FHIR datetime to HL7 DTM or DT exists; we should ensure all date and datetime values in the resulting FHIR bundle are created in a manner consistent with this mapping.

Risks/Impacts/Considerations

Dev Notes

Acceptance Criteria