# FhirPrecision

Industry: Healthcare

:::caution[Unreleased]
Not in `@northguild/gmt` 1.21.0 on npm yet. It is on `main` and ships in the next release.
:::

How much of a FHIR value is written, coarsest first. FHIR has no hour or minute precision: a time always carries seconds.

```ts
import type { FhirPrecision } from "@northguild/gmt";
```

## Definition

```ts
type FhirPrecision = "year" | "month" | "day" | "second" | "fraction";
```

## Used by

- [`formatFHIR`](/gmt/reference/healthcare/format/formatFHIR/)
- [`parseFHIR`](/gmt/reference/healthcare/parse/parseFHIR/)

## Source

[types/fhir.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/fhir.ts)
