# healthcare/format

Industry: Healthcare

- [`formatFHIR`](/gmt/reference/healthcare/format/formatFHIR/): Write an ISO 8601 string as a FHIR R4 `date`, `dateTime` or `instant`: the inverse of `parseFHIR`.
- [`formatHL7`](/gmt/reference/healthcare/format/formatHL7/): Write an ISO 8601 string as an HL7 v2 date-time (`DTM`): the inverse of `parseHL7`.

## Types

- [`FhirFormatOptions`](/gmt/reference/healthcare/format/formatFHIR/#fhirformatoptions): Options for `formatFHIR`.
- [`Hl7FormatOptions`](/gmt/reference/healthcare/format/formatHL7/#hl7formatoptions): Options for `formatHL7`.
- [`Hl7Precision`](/gmt/reference/healthcare/format/formatHL7/#hl7precision): The precision of an HL7 v2 date-time, coarsest first.
