#healthcare #fhir #interop #api-bindings

tlq-fhir-format

FHIR format parsing and serialization (JSON, XML)

6 releases

0.1.10 Jan 10, 2026
0.1.9 Jan 8, 2026

#2793 in Development tools


Used in tlq-fhirpath

MIT license

16KB
367 lines

FHIR JSON ↔ XML conversion helpers. The implementation is schema‑agnostic but follows the official JSON/XML mapping rules used by HL7 FHIR:

  • Root element uses the resourceType name.
  • Primitive values are encoded with the value attribute.
  • Primitive metadata (id, extension) is carried through _field entries.
  • Arrays are represented by repeated elements and aligned metadata arrays.

Dependencies

~1.9–2.7MB
~51K SLoC