# FhirDateType

Industry: Healthcare

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

The three FHIR R4 primitive types that carry a date (R4 Datatypes §2.24.0.1).

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

## Definition

```ts
type FhirDateType = "date" | "dateTime" | "instant";
```

## Used by

- [`formatFHIR`](/gmt/reference/healthcare/format/formatFHIR/)
- [`isValidFHIR`](/gmt/reference/healthcare/validate/isValidFHIR/)

## Source

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