Skip to content

healthcare/validate

  • 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.
  • isValidFHIR: Return true when value is a real FHIR R4 date, dateTime or instant, as type names.
  • isValidHL7: Return true when value is an HL7 v2 DTM, or a TS with a degree of precision the digits carry, that parseHL7 reads.

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.