Skip to content

healthcare/format

  • 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.
  • formatFHIR: Write an ISO 8601 string as a FHIR R4 date, dateTime or instant: the inverse of parseFHIR.
  • formatHL7: Write an ISO 8601 string as an HL7 v2 date-time (DTM): the inverse of parseHL7.

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.