openEHR to FHIR Data Type Mapping, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/openehr-fhir/data-type-mapping-ig/ and changes regularly. See the Directory of published versions
| Page standards status: Informative |
Boolean is the simplest mapping in this guide: openEHR's DV_BOOLEAN and FHIR's
boolean primitive each carry a single true/false value, with no precision,
accuracy, or auxiliary metadata to negotiate.
See Conventions for how to read the tables below, and
Coded Data for the null_flavour and
data-absent-reason correspondences that carry "why is this absent".
| openEHR type | FHIR type | → FHIR | → openEHR | Maturity | Scope |
|---|---|---|---|---|---|
DV_BOOLEAN | boolean | lossless | lossless | open | datatype |
Sources: openEHR RM — DV_BOOLEAN · FHIR R5 — boolean
| openEHR field | FHIR target | → FHIR | → openEHR | Maturity | Notes |
|---|---|---|---|---|---|
DV_BOOLEAN.value 1..1 | boolean | lossless | lossless | open | A direct 1:1 mapping with no transformation: neither side carries precision, accuracy, or auxiliary metadata. The one asymmetry is optionality. DV_BOOLEAN.value is mandatory in the Reference Model — a DV_BOOLEAN that exists has a value — while a FHIR boolean element may be absent, with the reason for its absence carried by an extension on the element rather than by a value. An absent FHIR boolean therefore has no DV_BOOLEAN to become; see null_flavour for how "why is this absent" is carried. This row is open because the section has not yet been reviewed from the openEHR side. |
{
"_type": "DV_BOOLEAN",
"value": true
}
true