Skip to content

healthcare/parse

  • Timestamps in HL7 and FHIR clinical data: a precision set by what is sent, and a time with no offset, which HL7 reads as local time and FHIR refuses.
  • parseFHIR: Reads a FHIR R4 date, dateTime or instant string (R4 Datatypes §2.24.0.1) as it is written, and returns what it states: the input, its precision and its offset.
  • parseHL7: Read an HL7 v2 date-time (DTM, or the older TS) as what it states: a moment, the sender’s local time, or a span.
  • FhirDateTime: A FHIR date, dateTime or instant value, read as sent.
  • Hl7DateTime: An HL7 v2 date-time (DTM, 2.A.22; or TS, 2.A.77) read as what it states.

Last updated:

© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.