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 |
A gap is a place where one standard carries information the other has nowhere to put. Gaps are not failures of this guide; they are facts about two independently developed specifications, and the guide's job is to state them precisely rather than to bridge them by invention.
Gaps run in both directions, and the two directions are genuinely different. An openEHR attribute with no FHIR home is a different problem from a FHIR element with no openEHR home, and they are owned by different groups.
This page publishes four inventories.
Every row on this page carries the same two mandatory citations as any mapping row. A row for a type with no counterpart cites the inventory page of the standard that lacks it — the openEHR RM Data Types Information Model, or the FHIR R5 Data Types page — so that "no counterpart exists" remains a sourced claim rather than an assertion.
The tables on this page are maintained by hand in this guide. Where a row restates a row of a field table on a category page, that field table is the normative statement, and editors keep this page in step with it — see Conventions.
Where a gap has an owner, the owner is named: an HL7 Jira ticket, the openEHR modelling team, or the joint working group. Open Items tracks their status.
Nothing on this page is closed by inventing a FHIR construct. No extension, code system, or value set is defined by this guide to fill a gap. Where the right answer is an archetype, the guide links the archetype and says who owns it. Where the right answer is a change to one of the two standards, the guide names the ticket.
Each directional inventory contains what its heading says, and only that. openEHR → FHIR lists openEHR features FHIR cannot receive, so every row has a real openEHR attribute; FHIR → openEHR lists FHIR features openEHR cannot receive, so every row has a real FHIR element. The FHIR types with no openEHR counterpart at all are a third thing and have their own inventory below; they are not repeated in the FHIR → openEHR table.
Money is not among them. openEHR has no dedicated monetary type, which
is a real observation, but a FHIR Money is reached from a DV_QUANTITY
carrying an ISO 4217 currency code in units — a published, fixture-backed
mapping, set out on Quantities. Listing Money as
having no openEHR counterpart would have the guide answering the same question
two ways on two pages, so it is not listed; an openEHR Reference Model proposal
for a first-class Money type is open and is tracked on
Open Items.
See Conventions for how to read the tables.
| openEHR type | FHIR type | → FHIR | → openEHR | Maturity | Scope |
|---|---|---|---|---|---|
(none) | Address, HumanName, ContactPoint, and others | unmapped | unmapped | open | datatype |
EVENT, DV_ENCAPSULATED, CLUSTER.media_file, COMPOSITION, PARTY_RELATED | (not determined) | unmapped | unmapped | not-discussed | datatype |
openEHR features that cannot be carried into FHIR without loss. Every row
restates a field-table row whose openEHR-to-FHIR verdict is lossy or
unmapped.
| Feature | Counterpart | Fidelity | Maturity | Owner | Why |
|---|---|---|---|---|---|
DV_QUANTITY.magnitude_status[~] 0..1DV_QUANTITY ↔ Quantity | — no counterpart (inventory) | unmapped | open | FHIR-56000 | An approximate magnitude cannot be carried in an R5 Quantity. FHIR-56000 adds ~ in the published R6 drafts, which recommend reading it as within 10% of the stated value while allowing other values, and say systems SHOULD state more with the quantity-confidenceInterval extension; it is not applied in R5. |
DV_QUANTITY.accuracy_is_percent[percent-unit] 0..1DV_QUANTITY ↔ Quantity | Quantity.extension[quantity-accuracy][percent-unit]† (extension) | unmapped | open | working-group | The flag is not carried. The quantity-accuracy extension’s only discriminator is the unit of the accuracy Quantity, and where the magnitude’s own unit is already % that unit is what an absolute accuracy takes and what a relative one takes. The accuracy magnitude is still emitted; the flag beside it is not. |
DV_PROPORTION.type 1..1DV_PROPORTION ↔ Ratio | — no counterpart (inventory) | unmapped | open | FHIR-56001 | The kind discriminator is dropped. pk_unitary and pk_percent survive implicitly through their fixed denominators, and pk_fraction and pk_integer_fraction through the rendering they direct, but no kind is carried as a value. |
DV_PROPORTION.type[fraction] 1..1DV_PROPORTION ↔ Ratio | Ratio.extension[rendered-value]† (extension) | lossy | open | — | DV_PROPORTION.type[fraction] — the rendering a pk_fraction or pk_integer_fraction directs is carried — 1/2, or 1 1/2 for an integer fraction whose numerator exceeds its denominator — but the kind is not, and where the numerator does not exceed the denominator the two kinds render alike |
DV_INTERVAL.lower_included 0..1DV_INTERVAL ↔ Range / Period / Quantity | — no counterpart (inventory) | unmapped | settled | working-group | An exclusive lower boundary cannot be stated in an instance. At design time it is expressed as a FHIRPath constraint in a profile, or by using Quantity.comparator instead of a Range. |
DV_INTERVAL.upper_included 0..1DV_INTERVAL ↔ Range / Period / Quantity | — no counterpart (inventory) | unmapped | settled | working-group | An exclusive upper boundary cannot be stated in an instance. |
DV_QUANTITY.units_system[not-iso-4217] 0..1DV_QUANTITY ↔ Money / MoneyQuantity | — no counterpart (inventory) | unmapped | open | openehr-modelling | A DV_QUANTITY whose units_system is absent — which openEHR reads as UCUM — or names any system other than urn:iso:std:iso:4217 is not an amount of money. Its units would land in Money.currency and break the required binding, so nothing is produced rather than an instance a validator rejects. |
DV_QUANTITY.magnitude_status 0..1DV_QUANTITY ↔ Money / MoneyQuantity | — no counterpart (inventory) | unmapped | settled | — | A Money cannot say that its amount is a bound rather than a point value, so the status is not carried. |
DV_QUANTITY.accuracy 0..1DV_QUANTITY ↔ Money / MoneyQuantity | — no counterpart (inventory) | unmapped | settled | — | The accuracy is not carried, and accuracy_is_percent, which only qualifies it, goes with it. |
DV_QUANTITY.normal_range 0..1DV_QUANTITY ↔ Money / MoneyQuantity | — no counterpart (inventory) | unmapped | settled | — | The normal range is not carried. |
DV_QUANTITY.other_reference_ranges 0..*DV_QUANTITY ↔ Money / MoneyQuantity | — no counterpart (inventory) | unmapped | settled | — | The reference ranges are not carried. |
DV_QUANTITY.normal_status 0..1DV_QUANTITY ↔ Money / MoneyQuantity | — no counterpart (inventory) | unmapped | settled | — | The normal status is not carried. |
DV_QUANTITY.magnitude_status 0..1DV_QUANTITY ↔ SimpleQuantity | — no counterpart (inventory) | unmapped | settled | — | A DV_QUANTITY carrying a bound or approximate magnitude_status in a slot whose FHIR target is SimpleQuantity is a modelling error on the openEHR side. The quantity is produced without the status and the loss is reported, never silently dropped. |
DV_QUANTITY.accuracy_is_percent[percent-unit] 0..1DV_QUANTITY ↔ SimpleQuantity | SimpleQuantity.extension[quantity-accuracy][percent-unit]† (extension) | unmapped | open | working-group | The flag is not carried: where the magnitude’s own unit is already %, the accuracy quantity’s unit — the extension’s only discriminator — is % whichever way the flag reads. The accuracy magnitude is still emitted. |
DV_QUANTITY.normal_range 0..1DV_QUANTITY ↔ SimpleQuantity | — no counterpart (inventory) | unmapped | settled | — | The normal range is not carried. |
DV_QUANTITY.other_reference_ranges 0..*DV_QUANTITY ↔ SimpleQuantity | — no counterpart (inventory) | unmapped | settled | — | The reference ranges are not carried. |
DV_QUANTITY.normal_status 0..1DV_QUANTITY ↔ SimpleQuantity | — no counterpart (inventory) | unmapped | settled | — | The normal status is not carried. |
CODE_PHRASE.code_string[whitespace] 1..1CODE_PHRASE ↔ Coding | — no counterpart (inventory) | unmapped | open | openehr-modelling | Nothing is produced: emitting the code anyway would publish an instance no FHIR validator accepts. A change request proposing the matching whitespace restriction on the openEHR side is open. |
DV_CODED_TEXT.defining_code[with-mappings] 1..1DV_CODED_TEXT ↔ CodeableConcept / Coding | CodeableConcept.coding[unmarked] | lossy | open | — | DV_CODED_TEXT.defining_code[with-mappings] — which coding is the defining code — and so which are mappings — is carried only by position: it is emitted first, and R5 says the "ordering of codings is undefined and SHALL NOT be used to infer meaning". Setting userSelected would claim that a user chose the code, and the published coding-purpose code system has no code for a defining code (HTA-170) |
DV_CODED_TEXT.mappings 0..*DV_CODED_TEXT ↔ CodeableConcept / Coding | CodeableConcept.coding | lossy | open | — | DV_CODED_TEXT.mappings.match — the degree of equivalence has no element on Coding; it is expected to be retrievable from a terminology service through a ConceptMap instead; DV_CODED_TEXT.mappings.purpose — no representation has been chosen — see the TERM_MAPPING.purpose row — so nothing is emitted rather than a candidate being blessed by default |
TERM_MAPPING.match 1..1TERM_MAPPING ↔ CodeableConcept.coding | — no counterpart (inventory) | unmapped | settled | — | The >, =, <, and ? relationship is not carried in the instance. The working group decided it is retrievable from a terminology service and dropped the request for an instance-level representation. |
TERM_MAPPING.purpose 0..1TERM_MAPPING ↔ CodeableConcept.coding | — no counterpart (inventory) | unmapped | open | working-group | No representation has been chosen. The candidates are adding the openEHR purpose values to the FHIR coding-purpose code system, and using openEHR’s own published term_mapping_purpose code system directly. Neither is adopted here, so nothing is emitted. |
NULL_FLAVOUR.defining_code.code_string 1..1null_flavour ↔ data-absent-reason | CodeableConcept.coding.code | lossy | open | — | NULL_FLAVOUR.defining_code.code_string — openEHR 271 (no information) has no data-absent-reason equivalent and falls back to unknown, which conflates it with 253; a request to add no information to the FHIR code system has not been made |
Integer[negative] 1..1Integer ↔ integer | — no counterpart (inventory) | unmapped | settled | — | A negative value cannot be carried in an element typed unsignedInt: the archetype and the FHIR element disagree about the range, and no conversion of the value repairs that. |
Integer[non-positive] 1..1Integer ↔ integer | — no counterpart (inventory) | unmapped | settled | — | A zero or negative value cannot be carried in an element typed positiveInt: the archetype and the FHIR element disagree about the range, and no conversion of the value repairs that. |
Integer64[overflow] 1..1Integer64 ↔ integer64 | — no counterpart (inventory) | unmapped | open | working-group | A value exceeding 2³¹ − 1 cannot be carried in an element typed integer. An extension is required, and its value can be a valueInteger64, which takes the full range; which extension depends on the element, so no general answer is given here. |
Real[non-finite] 1..1Real / Double ↔ decimal | — no counterpart (inventory) | unmapped | settled | — | Nothing is produced for the value. FHIR states why an element has no value with the data-absent-reason extension on the element, whose code system has not-a-number, negative-infinity, and positive-infinity for exactly these cases. |
DV_TEXT.formatting 0..1DV_TEXT ↔ string / markdown | string.extension[rendering-markdown]† (extension) | lossy | open | — | DV_TEXT.formatting — markdown is carried, by the rendering-markdown extension or by choosing a markdown target. What is dropped is the distinction between plain and plain_no_newlines — FHIR has no element recording it — and the legacy deprecated CSS string, which has no FHIR representation either |
DV_TEXT.language 0..1DV_TEXT ↔ string / markdown | string.extension[language]† (extension) | lossy | open | — | DV_TEXT.language.terminology_id — the language extension declares value[x]: code 1..1 with a required binding to all-languages, so it carries the tag alone; the CODE_PHRASE.terminology_id that stated which scheme the tag belongs to has no home on a bare code |
DV_TEXT.encoding 0..1DV_TEXT ↔ string / markdown | — no counterpart (inventory) | unmapped | settled | — | The character set is not carried. openEHR permits several through its character_sets code system; the sender is responsible for converting to UTF-8 before mapping, and the original encoding is not preserved. |
DV_TEXT.hyperlink 0..1DV_TEXT ↔ string / markdown | — no counterpart (inventory) | unmapped | settled | — | hyperlink is deprecated in the openEHR Reference Model. Where one is present it MAY be folded into markdown content rather than dropped, which is a transformation of the value rather than a mapping of the field. |
DV_TEXT.mappings 0..*DV_TEXT ↔ string / markdown | — no counterpart (inventory) | unmapped | settled | — | Not carried by this mapping. A DV_TEXT with term mappings SHOULD be mapped as a CodeableConcept instead — see Coded Data — where each mapping becomes an additional coding. |
DV_URI.value[plain-text] 1..1DV_URI / DV_EHR_URI ↔ uri / url | uri | lossy | open | — | DV_URI.value[plain-text] — the RM allows "plain-text URIs" containing characters RFC 3986 forbids, such as spaces, and requires them to be RFC 3986-encoded before machine use; a FHIR uri must be valid, so those characters are percent-encoded and the readable form is not carried |
DV_URI.value[not-oid] 1..1DV_URI / DV_EHR_URI ↔ uri / url | — no counterpart (inventory) | unmapped | settled | — | A URI in any other form cannot be carried in an element typed oid: the archetype and the FHIR element disagree about the value, and no conversion repairs that. |
DV_URI.value[not-uuid] 1..1DV_URI / DV_EHR_URI ↔ uri / url | — no counterpart (inventory) | unmapped | settled | — | A URI in any other form — an uppercase UUID included — cannot be carried in an element typed uuid: the archetype and the FHIR element disagree about the value, and no conversion repairs that. |
LINK.meaning 1..1LINK ↔ Reference / CodeableReference | Reference.display | lossy | open | — | LINK.meaning — LINK.meaning is a DV_TEXT [1..1] and Reference.display is a plain string, so only DV_TEXT.value participates. formatting, encoding, the deprecated hyperlink, and mappings are lossy or unmapped into a FHIR string — see the DV_TEXT table on Textual Data — and a Reference.display has no extension slot in this mapping to carry them |
LINK.type 1..1LINK ↔ Reference / CodeableReference | CodeableReference.concept | lossy | open | — | LINK.type — only DV_TEXT.value participates, as for LINK.meaning; and a plain Reference — what a data-type conversion produces without the archetype-level decision to use a CodeableReference — carries no concept at all, so this guide’s reference converter emits no link type |
PARTY_IDENTIFIED 0..1LINK ↔ Reference / CodeableReference | — no counterpart (inventory) | unmapped | open | openehr-modelling | Not mapped here. openEHR splits internal record links (LINK) from external party references (PARTY_IDENTIFIED) and the working group is investigating unifying both onto a common Reference Model class, likely based on OBJECT_REF. This guide maps the RM as published today and does not anticipate the unreleased change. |
DV_TIME.value[minute-precision] 1..1DV_TIME ↔ time | — no counterpart (inventory) | lossy | settled | — | DV_TIME.value[minute-precision] — an openEHR 14:30 is completed to 14:30:00, so the FHIR value states a precision the source did not. This is the one case the guide’s "truncate, never pad" rule cannot cover, because FHIR offers no shorter time form to truncate to |
DV_TIME.value[hour-precision] 1..1DV_TIME ↔ time | — no counterpart (inventory) | lossy | settled | — | DV_TIME.value[hour-precision] — valid_iso8601_time publishes hh as a partial form, so an openEHR 14 is a conformant DV_TIME. It is completed to 14:00:00, so the FHIR value states two levels of precision the source did not — the minute and the second. As with minute precision, FHIR offers no shorter time form to truncate to |
DV_TIME.value[timezone] 0..1DV_TIME ↔ time | — no counterpart (inventory) | lossy | open | — | DV_TIME.value[timezone] — the time of day itself carries; the UTC offset does not, because no FHIR time element or extension has a home for one. Where the offset matters, the value belongs in a dateTime, which carries an offset directly |
DV_DATE_TIME.value[minute-precision] 1..1DV_DATE_TIME ↔ dateTime / instant | — no counterpart (inventory) | lossy | settled | — | DV_DATE_TIME.value[minute-precision] — an openEHR 2026-03-01T14:30 is completed to 2026-03-01T14:30:00, so the FHIR value states a precision the source did not. FHIR additionally requires a UTC offset alongside a time: that offset SHALL come from the source or its context and is never invented by a data-type conversion |
DV_DATE_TIME.value[hour-precision] 1..1DV_DATE_TIME ↔ dateTime / instant | — no counterpart (inventory) | lossy | settled | — | DV_DATE_TIME.value[hour-precision] — valid_iso8601_date_time publishes YYYY-MM-DDThh and YYYYMMDDThh as partial forms, so an openEHR 2026-03-01T14 is conformant. It is completed to 2026-03-01T14:00:00, so the FHIR value states two levels of precision the source did not. FHIR additionally requires a UTC offset alongside a time: that offset SHALL come from the source or its context and is never invented by a data-type conversion, so a source stating neither an offset nor the minutes produces nothing at all |
DV_DATE_TIME.value[no-offset] 1..1DV_DATE_TIME ↔ dateTime / instant | — no counterpart (inventory) | unmapped | open | working-group | Nothing is produced. The offset has to come from the source or from the surrounding template, and a data-type conversion sees neither: padding with Z would state a time zone the source did not, and emitting the value without an offset would publish an invalid FHIR primitive as a faithful conversion. |
DV_DATE_TIME.accuracy 0..1DV_DATE_TIME ↔ dateTime / instant | — no counterpart (inventory) | unmapped | settled | — | Dropped. accuracy and magnitude_status, inherited from DV_TEMPORAL and DV_QUANTIFIED, have no FHIR home on a temporal primitive; where the source value is partial, that precision is preserved by truncating the lexical form instead. |
DV_DURATION.value[multi-component] 1..1DV_DURATION ↔ Duration | — no counterpart (inventory) | unmapped | open | working-group | Nothing is produced. Combining the components would invent a precision the source does not have, and an empty Duration is an invalid instance claiming to be a partial success. |
DV_DURATION.value[not-positive-age] 1..1DV_DURATION ↔ Duration | — no counterpart (inventory) | unmapped | settled | — | A zero or negative duration — openEHR’s own example -P3M, an age of minus three months for a very premature newborn, among them — cannot be carried in an element typed Age, such as Condition.onsetAge. An element typed Duration carries it. |
DV_DURATION.magnitude_status[~] 0..1DV_DURATION ↔ Duration | — no counterpart (inventory) | unmapped | open | FHIR-56000 | An approximate duration cannot be carried in an R5 Duration. FHIR-56000 adds ~ in the published R6 drafts; it is not applied in R5. |
DV_DURATION.value 1..1DV_DURATION ↔ Duration | Timing.repeat | unmapped | open | working-group | Deferred; see below. |
DV_MULTIMEDIA.uri[plain-text] 0..1DV_MULTIMEDIA ↔ Attachment | Attachment.url | lossy | open | — | DV_MULTIMEDIA.uri[plain-text] — the RM allows a "plain-text" DV_URI containing characters RFC 3986 forbids, and requires it to be encoded before machine use; a FHIR url must be valid, so those characters are percent-encoded and the readable form is not carried |
DV_MULTIMEDIA.integrity_check[no-algorithm] 0..1DV_MULTIMEDIA ↔ Attachment | — no counterpart (inventory) | unmapped | open | working-group | integrity_check_algorithm is optional and openEHR names no default, so the algorithm is unknown. Writing the hash into Attachment.hash would assert SHA-1, which nothing in the source states, so it is not carried. |
DV_MULTIMEDIA.compression_algorithm 0..1DV_MULTIMEDIA ↔ Attachment | — no counterpart (inventory) | unmapped | open | FHIR-56003 | openEHR permits compress, deflate, gzip, zlib, and other; FHIR has no equivalent, and FHIR-56003, which requests one, is still in discussion. Inline data compressed with gzip, zlib, or deflate is therefore decompressed during conversion — see the sub-cases below — and the algorithm itself is not carried. No extension is invented here. |
DV_MULTIMEDIA.compression_algorithm[not-decompressible] 0..1DV_MULTIMEDIA ↔ Attachment | — no counterpart (inventory) | unmapped | open | FHIR-56003 | Nothing is produced when the content cannot be decompressed: the algorithm is compress or other, the data does not decompress as the stated algorithm, or the content is held by reference at uri, where a converter cannot reach it. Copying the compressed bytes would let contentType misdescribe them. |
DV_MULTIMEDIA.data[compressed] 0..1DV_MULTIMEDIA ↔ Attachment | — no counterpart (inventory) | lossy | open | — | DV_MULTIMEDIA.data[compressed] — the data is decompressed during conversion, so FHIR carries the content itself and the compressed bytes are not carried; reading it back gives the same content uncompressed, with no compression_algorithm |
DV_MULTIMEDIA.size[decompressed] 1..1DV_MULTIMEDIA ↔ Attachment | — no counterpart (inventory) | lossy | open | — | DV_MULTIMEDIA.size[decompressed] — where the stated size is not the size of the decompressed data — openEHR’s "original size … of unencoded encapsulated data" does not say which side of the compression it counts — FHIR states the decompressed size and the stated one is not carried |
DV_MULTIMEDIA.integrity_check[decompressed] 0..1DV_MULTIMEDIA ↔ Attachment | — no counterpart (inventory) | unmapped | open | FHIR-56003 | Not carried for decompressed data: openEHR does not say whether the check covers the compressed or the uncompressed bytes, and a hash that does not match the FHIR data would make a receiver reject sound content. |
DV_MULTIMEDIA.integrity_check_algorithm[decompressed] 0..1DV_MULTIMEDIA ↔ Attachment | — no counterpart (inventory) | unmapped | open | FHIR-56003 | Goes with the check it names: see DV_MULTIMEDIA.integrity_check[decompressed]. |
DV_MULTIMEDIA.thumbnail[not-convertible] 0..1DV_MULTIMEDIA ↔ Attachment | — no counterpart (inventory) | unmapped | open | working-group | A thumbnail that cannot itself be converted — content it cannot decompress, for example — is left out, and the reasons are reported; the parent it previews is still converted. |
DV_MULTIMEDIA.language 0..1DV_MULTIMEDIA ↔ Attachment | Attachment.language | lossy | open | — | DV_MULTIMEDIA.language.terminology_id — Attachment.language is a code required-bound to all-languages, so it carries the tag alone; the CODE_PHRASE.terminology_id that stated which scheme the tag belongs to has no home on a bare code |
DV_PARSABLE.value[empty] 1..1DV_PARSABLE ↔ string | — no counterpart (inventory) | unmapped | settled | — | The RM says the value "may validly be empty in some syntaxes". Nothing is produced rather than a string a validator rejects. |
DV_PARSABLE.formalism 1..1DV_PARSABLE ↔ string | — no counterpart (inventory) | unmapped | open | session:dv-parsable-formalism | Nothing carries it. The working group recorded a Decision made to use the mimeType extension; the extension definition does not support that decision, and this guide publishes the gap rather than an instance no validator accepts. |
DV_PARSABLE.language 0..1DV_PARSABLE ↔ string | string.extension[language]† (extension) | lossy | open | — | DV_PARSABLE.language.terminology_id — the language extension is a code required-bound to all-languages, so it carries the tag alone; the CODE_PHRASE.terminology_id that stated which scheme the tag belongs to has no home on a bare code |
DV_PARSABLE.charset 0..1DV_PARSABLE ↔ string | — no counterpart (inventory) | unmapped | settled | — | Not carried: the sender converts non-UTF-8 content to UTF-8 before mapping, as Cross-Cutting Concerns sets out. |
DV_STATE.value 1..1DV_STATE ↔ CodeableConcept | CodeableConcept | lossy | open | — | DV_CODED_TEXT.mappings.match — the degree of equivalence has no element on Coding — this conversion delegates to DV_CODED_TEXT ↔ CodeableConcept and carries its drops forward; DV_CODED_TEXT.mappings.purpose — no representation has been chosen for TERM_MAPPING.purpose, so the delegated conversion emits nothing for it; DV_CODED_TEXT.defining_code[with-mappings] — once a mapping adds a second coding, only the order of the codings marks the state’s defining code, and R5 says that order SHALL NOT be used to infer meaning |
DV_STATE.is_terminal 1..1DV_STATE ↔ CodeableConcept | — no counterpart (inventory) | unmapped | open | working-group | There is no FHIR element for it and no extension is invented here. Carrying it would require either an extension or handling at the archetype and resource level. |
FHIR features that cannot be carried into openEHR without loss.
| Feature | Counterpart | Fidelity | Maturity | Owner | Why |
|---|---|---|---|---|---|
| Quantity.extension[quantity-accuracy][percent-unit]† (extension) DV_QUANTITY ↔ Quantity | DV_QUANTITY.accuracy_is_percent[percent-unit] 0..1 | unmapped | open | working-group | Nothing in the instance says whether the accuracy is absolute or relative, so accuracy_is_percent is left absent rather than derived. Deriving it would read ±2 percentage points on a 45 % value as ±2 % of 45 — which is ±0.9, a different number. |
| Observation.interpretation DV_QUANTITY ↔ Quantity | DV_QUANTITY.normal_status 0..1 | lossy | open | — | Observation.interpretation — openEHR binds normal_status to its normal_statuses code system with required strength, so an interpretation coded outside that set cannot be carried; a change request to relax the binding to extensible is open |
| Observation.interpretation DV_COUNT ↔ Count | DV_COUNT.normal_status 0..1 | lossy | open | — | Observation.interpretation — openEHR binds normal_status to its normal_statuses code system with required strength, so an interpretation coded outside that set cannot be carried; a change request to relax the binding to extensible is open |
| Ratio.numerator.value DV_PROPORTION ↔ Ratio | DV_PROPORTION.numerator 1..1 | unmapped | settled | FHIR-56001 | Nothing is produced. DV_PROPORTION.type is mandatory and no Ratio carries a kind discriminator, so no Ratio becomes a DV_PROPORTION at all and the numerator has nothing to land in. The value itself would carry across; it does not carry across on its own. |
| Ratio.denominator.value DV_PROPORTION ↔ Ratio | DV_PROPORTION.denominator 1..1 | unmapped | settled | FHIR-56001 | Nothing is produced, for the same reason as the numerator: DV_PROPORTION.type is mandatory and unsourceable from a Ratio, so the denominator has nothing to land in. |
| Ratio.extension[rendered-value]† (extension) DV_PROPORTION ↔ Ratio | DV_PROPORTION.type[fraction] 1..1 | unmapped | open | working-group | A rendering is not a kind: where the numerator does not exceed the denominator, pk_fraction and pk_integer_fraction render alike, so DV_PROPORTION.type is not inferred from it, and the Ratio is refused as any other is. |
| Ratio.numerator.extension[quantity-precision]† (extension) DV_PROPORTION ↔ Ratio | DV_PROPORTION.precision 0..1 | unmapped | open | FHIR-56001 | Nothing is produced. DV_PROPORTION.type is mandatory and unsourceable from a Ratio, so no DV_PROPORTION is produced and the precision extension has nothing to land in. |
| SimpleQuantity.extension[quantity-accuracy][percent-unit]† (extension) DV_QUANTITY ↔ SimpleQuantity | DV_QUANTITY.accuracy_is_percent[percent-unit] 0..1 | unmapped | open | working-group | Nothing in the instance says whether the accuracy is absolute or relative, so accuracy_is_percent is left absent rather than derived. |
| Observation.interpretation DV_ORDINAL ↔ Observation.component | DV_ORDINAL.normal_status 0..1 | lossy | open | — | Observation.interpretation — openEHR binds normal_status to its normal_statuses code system with required strength, so an interpretation coded outside that set cannot be carried; a change request to relax the binding to extensible is open |
| Observation.interpretation DV_SCALE ↔ Observation.component | DV_SCALE.normal_status 0..1 | lossy | open | — | Observation.interpretation — openEHR binds normal_status to its normal_statuses code system with required strength, so an interpretation coded outside that set cannot be carried; a change request to relax the binding to extensible is open |
| CodeableConcept.coding DV_CODED_TEXT ↔ CodeableConcept / Coding | DV_CODED_TEXT.defining_code 1..1 | lossy | settled | — | CodeableConcept.coding.userSelected — openEHR has no field marking which coding a user chose; the flag is consumed to select defining_code and is not carried any further; Coding.version — openEHR has no separate version field and no format for combining system and version into terminology_id has been chosen, so the version is not carried — this conversion delegates to CODE_PHRASE ↔ Coding and carries that mapping’s drop forward rather than swallowing it |
| CodeableConcept.coding[unmarked] DV_CODED_TEXT ↔ CodeableConcept / Coding | DV_CODED_TEXT.defining_code[with-mappings] 1..1 | lossy | open | — | CodeableConcept.coding[unmarked] — several codings arrive and not exactly one is marked userSelected, so nothing in the instance says which is the defining code. Without a template naming the terminology, the first coding — the first marked one, if several are — is taken, which infers meaning from order as R5 says SHALL NOT be done, so the choice is reported |
| CodeableConcept.coding DV_CODED_TEXT ↔ CodeableConcept / Coding | DV_CODED_TEXT.mappings 0..* | lossy | open | — | TERM_MAPPING.match — each additional coding becomes one TERM_MAPPING, whose mandatory match a Coding cannot source. The composed conversion carries the inner drop forward: ? — the Reference Model’s "the kind of mapping is unknown" — is written and reported on this result too. See the TERM_MAPPING ↔ Coding rows |
| Coding.code TERM_MAPPING ↔ CodeableConcept.coding | TERM_MAPPING.target 1..1 | lossy | settled | — | Coding.version — openEHR has no separate version field and no format for combining system and version into terminology_id has been chosen, so the version is not carried — this conversion delegates to CODE_PHRASE ↔ Coding and carries that mapping’s drop forward rather than swallowing it |
| CodeableConcept.coding.code null_flavour ↔ data-absent-reason | NULL_FLAVOUR.defining_code.code_string 1..1 | lossy | open | — | CodeableConcept.coding.code — the data-absent-reason code system is broader than openEHR’s null-flavour set, so every code but unknown, masked, and not-applicable is assigned to one of the four openEHR codes by a semantic choice, and the distinction it drew is not carried |
| decimal Real / Double ↔ decimal | Real 1..1 | lossy | settled | — | decimal — FHIR treats trailing zeros in the lexical form of a decimal as significant; openEHR Real and Double do not carry lexical precision at all, so the significance is lost unless a receiving DV_QUANTITY.precision is available to take it. A decimal may also carry up to 18 digits, while a 32-bit Real holds about 7 significant digits and a 64-bit Double about 15 to 17, so digits beyond those are rounded |
| string.extension[language]† (extension) DV_TEXT ↔ string / markdown | DV_TEXT.language 0..1 | lossy | open | — | string.extension[language][region-subtag] — FHIR’s all-languages binding is BCP 47 and openEHR binds language to its own published ISO_639-1 code set. BCP 47 strictly contains ISO 639-1, so en-US and zh-Hant are BCP 47 tags that ISO 639-1 has no code for. The primary language subtag is carried and the region or script subtag is not; string.extension[language][outside-code-set] — a tag that is not an ISO 639-1 alpha-2 code — a three-letter ISO 639-2 code, a private-use tag — is outside the code set Language_valid requires, so no language is written at all rather than a terminology_id being invented for a code the code set does not hold. language is 0..1, and the text itself converts faithfully |
| Identifier.type DV_IDENTIFIER ↔ Identifier | DV_IDENTIFIER.type 0..1 | lossy | open | — | Identifier.type — openEHR carries the type as a single string in system::value notation, so only one coding survives — where several are present the userSelected one is taken, otherwise the first — and every other property of a Coding, including version, display, and userSelected itself, is dropped |
| Identifier.assigner DV_IDENTIFIER ↔ Identifier | DV_IDENTIFIER.assigner 0..1 | lossy | open | — | Identifier.assigner — a FHIR Reference carries more than an identifier — reference, display, and type — and openEHR reduces the whole thing to one system::value string, so everything except the identifier is dropped |
when the target has not been resolved to a FHIR resource — what a data-type conversion produces — with system urn:ietf:rfc:3986 and the URI as value: Reference.identifierwhen the target has been resolved to the FHIR resource it was itself converted to, with targetElement or targetPath where it is a sub-element: Reference.referenceLINK ↔ Reference / CodeableReference | LINK.target 1..1 | unmapped | open | openehr-modelling | No LINK is produced at all, so nothing lands in target. LINK.type is mandatory and a plain Reference has no field that can source it — see the LINK.type row — so the reference travels only as part of a LINK that cannot be built. |
| Reference.display LINK ↔ Reference / CodeableReference | LINK.meaning 1..1 | unmapped | open | openehr-modelling | No LINK is produced at all, so nothing lands in meaning. See the LINK.type row. |
| CodeableReference.concept LINK ↔ Reference / CodeableReference | LINK.type 1..1 | unmapped | open | openehr-modelling | LINK.type is mandatory (1..1) and a FHIR Reference has no field that can source it. Only a CodeableReference carries a concept, and using one is an archetype-level decision. No LINK is produced from a bare Reference, because inventing a link type — the literal reference, as an earlier draft of this guide did — states a relationship nobody sent. |
| time.value DV_TIME ↔ time | DV_TIME.value 1..1 | lossy | settled | — | time.value[fractional-seconds] — FHIR permits up to nine fractional-second digits and openEHR restricts to three, so anything finer than a millisecond is truncated |
| Observation.interpretation DV_DURATION ↔ Duration | DV_DURATION.normal_status 0..1 | lossy | open | — | Observation.interpretation — openEHR binds normal_status to its normal_statuses code system with required strength, so an interpretation coded outside that set cannot be carried; a change request to relax the binding to extensible is open |
| Timing.repeat DV_DURATION ↔ Duration | DV_DURATION.value 1..1 | unmapped | open | working-group | Deferred; see below. |
| Attachment.language DV_MULTIMEDIA ↔ Attachment | DV_MULTIMEDIA.language 0..1 | lossy | open | — | Attachment.language[region-subtag] — Attachment.language’s all-languages binding is BCP 47 and openEHR binds language to its own published ISO_639-1 code set. BCP 47 strictly contains ISO 639-1, so en-US and zh-Hant are BCP 47 tags that ISO 639-1 has no code for. The primary language subtag is carried and the region or script subtag is not; Attachment.language[outside-code-set] — a tag that is not an ISO 639-1 alpha-2 code is outside the code set DV_ENCAPSULATED.Language_valid requires, so no language is written at all rather than a terminology_id being invented for a code the code set does not hold. language is 0..1, and the attachment itself converts faithfully |
| string.value DV_PARSABLE ↔ string | DV_PARSABLE.value 1..1 | unmapped | open | session:dv-parsable-formalism | A FHIR string states nothing about the syntax its value is written in, and DV_PARSABLE.formalism is mandatory, so no DV_PARSABLE can be produced from a string alone. The formalism has to come from the element definition, which a data-type conversion never sees. This mapping is one-directional. |
| string.extension[language]† (extension) DV_PARSABLE ↔ string | DV_PARSABLE.language 0..1 | unmapped | open | session:dv-parsable-formalism | No DV_PARSABLE is produced from a string, so nothing lands in language; see the value row. |
| CodeableConcept DV_STATE ↔ CodeableConcept | DV_STATE.value 1..1 | lossy | open | — | Coding.version — openEHR has no separate version field and no format for combining system and version into terminology_id has been chosen, so the version is not carried — this conversion delegates to DV_CODED_TEXT ↔ CodeableConcept, and through it to CODE_PHRASE ↔ Coding, and carries both mappings’ drops forward; CodeableConcept.coding.userSelected — openEHR has no field marking which coding a user chose; the flag is consumed to select the inner defining_code and is not carried any further; CodeableConcept.coding[unmarked] — several codings arrive and not exactly one is marked userSelected, so the state’s defining code is chosen by position, which R5 says SHALL NOT be done; TERM_MAPPING.match — each further coding becomes a TERM_MAPPING whose mandatory match a Coding cannot source, so the Reference Model’s ? is written and reported |
FHIR features for which the openEHR Reference Model has no equivalent at all. A
feature is a whole data type, a single element, or a named sub-case of one —
Address and HumanName are whole types, Identifier.use and
Reference.type are elements, and Quantity.comparator[ad] and
Attachment.size[overflow] are named sub-cases. Each cites the openEHR Data
Types inventory page, so "no counterpart exists" remains a sourced claim.
Not investigated further.
The inventory covers FHIR's general-purpose and special data types that carry
recorded clinical content. FHIR's metadata types — ContactDetail,
Contributor, DataRequirement, Expression, ParameterDefinition,
RelatedArtifact, TriggerDefinition, UsageContext,
ExtendedContactDetail, Availability, VirtualServiceDetail, and
MonetaryComponent — and the special types ElementDefinition, Extension,
MarketingStatus, and ProductShelfLife describe knowledge artefacts,
conformance resources, and product data rather than recorded content, and are
out of this guide's scope. Dosage is the one that matters clinically: it
is the dosage-and-timing problem deferred on
Temporal Data.
| FHIR type | Why openEHR has no counterpart | Owner |
|---|---|---|
| Quantity.comparator[ad] | openEHR magnitude_status has no value meaning "sufficient as part of a sum"; the RM vocabulary is <, <=, >, >=, ~, and =. (inventory) | working-group |
| Count.system | DV_COUNT is unitless: the RM defines no units or units_system on it, and a countable thing carries its meaning in the archetype node, not in a unit. (inventory) | — |
| Count.code | DV_COUNT is unitless; see Count.system. (inventory) | — |
| Ratio.numerator.code | DV_PROPORTION carries bare decimals and no units at all. In openEHR a proportion that needs units is modelled as two DV_QUANTITY values at the archetype level instead. (inventory) | openehr-modelling |
| Coding.version | TERMINOLOGY_ID is a single string. openEHR has no separate version field, so a FHIR version has nowhere of its own to land. (inventory) | working-group |
| Coding.system[absent] | CODE_PHRASE.terminology_id and code_string are both mandatory. There is no openEHR representation of a code whose system or code is unknown. (inventory) | working-group |
| Element.extension[iso21090-nullFlavor]† (extension) | No openEHR attribute is mapped to the v3 extension: the null flavour is carried by data-absent-reason, in the rows above, and this guide does not also emit the v3 form. (inventory) | openehr-modelling |
| string.extension[rendering-xhtml]† (extension) | RM § 5.1.7 enumerates DV_TEXT.formatting exhaustively and has no value for XHTML rendering. The same section rejects the approach on the record — "to use the output format, usually HTML … is also problematic", Deprecated — and concludes that conversion to rendering form "is assumed to be done by an industry-standard markdown-to-HTML or other such converter. This is the approach taken by this specification." XHTML support is pending a Reference Model change request. (inventory) | — |
| Identifier.use | DV_IDENTIFIER has no categorisation field. In openEHR, use is expressed at the archetype level rather than on the data type. (inventory) | openehr-modelling |
| Identifier.period | DV_IDENTIFIER has no validity period; see Identifier.use. (inventory) | openehr-modelling |
| CodeableReference | openEHR has no single value combining a coded concept and a reference. The two are modelled separately — a coded element alongside a LINK, or both inside an enclosing CLUSTER. (inventory) | openehr-modelling |
| Reference.type | A LINK states no type for its target: a DV_EHR_URI names an item in an EHR, not the FHIR resource type that item would be represented as. (inventory) | — |
| when the magnitude, which is rescaled to seconds: Duration.value[ms] when the unit, which reads back as s: Duration.code[ms] | openEHR’s Iso8601_duration has no millisecond designator. A millisecond-coded Duration therefore has no openEHR form that keeps the magnitude as stated: 5 ms can only be written PT0.005S, which is a different number in a different unit. (inventory) | working-group |
| Duration.comparator[ad] | openEHR magnitude_status has no value meaning "sufficient as part of a sum"; the RM vocabulary is <, <=, >, >=, ~, and =. (inventory) | working-group |
| Attachment.size[overflow] | DV_MULTIMEDIA.size is an RM Integer, which is 32-bit. There is no openEHR attribute that can hold a size beyond ±2,147,483,647, so an attachment larger than about 2 GiB has nowhere to record its size. (inventory) | openehr-modelling |
| Attachment.hash[with-alternate-hash] | DV_MULTIMEDIA holds one integrity check, not two. (inventory) | openehr-modelling |
| Attachment.extension[attachment-thumbnail][additional]† (extension) | DV_MULTIMEDIA.thumbnail is 0..1, so a value holds at most one thumbnail. (inventory) | openehr-modelling |
| Attachment.extension[attachment-thumbnail][not-convertible]† (extension) | A thumbnail that cannot become a DV_MULTIMEDIA has nothing to land in. (inventory) | working-group |
| Attachment.extension[attachment-isThumbnail]† (extension) | openEHR has no flag saying a DV_MULTIMEDIA is a thumbnail: one is a thumbnail by sitting in its parent’s thumbnail attribute. (inventory) | openehr-modelling |
| Attachment.creation | The published openEHR Media File CLUSTER archetype has no creation element. A draft CLUSTER.extended_media_details archetype provides one. (inventory) | openehr-modelling |
| Attachment.height | The published openEHR Media File CLUSTER archetype has no height element, and neither does DV_MULTIMEDIA. A draft CLUSTER.extended_media_details archetype provides one. (inventory) | openehr-modelling |
| Attachment.width | The published openEHR Media File CLUSTER archetype has no width element, and neither does DV_MULTIMEDIA. A draft CLUSTER.extended_media_details archetype provides one. (inventory) | openehr-modelling |
| Attachment.frames | The published openEHR Media File CLUSTER archetype has no frames element, and neither does DV_MULTIMEDIA. A draft CLUSTER.extended_media_details archetype provides one. (inventory) | openehr-modelling |
| Attachment.duration | The published openEHR Media File CLUSTER archetype has no duration element, and neither does DV_MULTIMEDIA. A draft CLUSTER.extended_media_details archetype provides one. (inventory) | openehr-modelling |
| Attachment.pages | The published openEHR Media File CLUSTER archetype has no pages element, and neither does DV_MULTIMEDIA. A draft CLUSTER.extended_media_details archetype provides one. (inventory) | openehr-modelling |
| Address | The openEHR Reference Model has no postal-address data type. Addresses are modelled in demographic archetypes, not in the Data Types Information Model. (inventory) | openehr-modelling |
| HumanName | openEHR models names in demographic archetypes and in PARTY_IDENTIFIED.name, not as a structured data type. (inventory) | openehr-modelling |
| ContactPoint | Telecom details are archetype content in openEHR, with no corresponding data type. (inventory) | openehr-modelling |
| Annotation | openEHR carries an author and a time on the enclosing RM structures rather than bundling them with the text; there is no data type combining the three. (inventory) | openehr-modelling |
| Signature | openEHR attests content through ATTESTATION in the Common Information Model, which is an RM class rather than a data type. (inventory) | openehr-modelling |
| SampledData | openEHR represents sampled series through ITEM_TABLE and time-series archetypes rather than as a data type. (inventory) | openehr-modelling |
| RatioRange | openEHR has no interval over DV_PROPORTION; DV_INTERVAL<T> is parameterised on DV_ORDERED, which DV_PROPORTION does not extend in a way that yields a ratio range. (inventory) | openehr-modelling |
| Meta | Resource metadata — version, last-updated, profiles, security labels, tags — has no openEHR data type. openEHR carries the equivalents on VERSION and AUDIT_DETAILS in the Common Information Model. (inventory) | openehr-modelling |
| Narrative | FHIR resource narrative is XHTML with a generation status. openEHR has no counterpart data type; narrative is either archetype content or absent. (inventory) | openehr-modelling |
| RelativeTime | An R6-era type expressing a time relative to an event rather than on a calendar; R5 does not define it, so the citation is to the R5 data-type inventory rather than to an anchor that does not exist. The working group examined it and recorded no openEHR counterpart identified; openEHR expresses the same idea structurally, through the EVENT and HISTORY classes and their offsets, not as a data type. (inventory) | openehr-modelling |
| Element.extension[rendering-xhtml]† (extension) | FHIR can attach an XHTML rendering of an element’s value through the rendering-xhtml extension. openEHR has no DV_TEXT.formatting value for it: RM § 5.1.7 enumerates the set exhaustively — Void, "markdown", "plain", "plain_no_newlines", and a legacy deprecated CSS string — and rejects HTML as a formatting approach explicitly, concluding that rendering is done by a markdown-to-HTML converter and that "this is the approach taken by this specification". XHTML support on the openEHR side is pending a Reference Model change request. (inventory) | openehr-modelling |
Constructs on either side the working group has not examined. These carry no fidelity claim, because nobody has checked.
| Construct | Side | Why it is listed |
|---|---|---|
DV_PARAGRAPH.items 1..* | openEHR | DV_PARAGRAPH has not been discussed. It is deprecated in the Reference Model but may appear in older data and archetypes, so it is listed rather than omitted. No mapping is asserted, because none has been agreed. |
DV_GENERAL_TIME_SPECIFICATION.value 1..1 | openEHR | Not yet discussed. No mapping is asserted, because none has been agreed. |
DV_PERIODIC_TIME_SPECIFICATION.value 1..1 | openEHR | Not yet discussed. |
EVENT<T> 0..1 | openEHR | Not yet discussed. EVENT and its POINT_EVENT and INTERVAL_EVENT subtypes carry time-series data inside a HISTORY. They are RM structures rather than data types, and their FHIR counterparts are resource-level. |
DV_ENCAPSULATED 0..1 | openEHR | Not yet discussed. The abstract parent of DV_MULTIMEDIA and DV_PARSABLE. Its charset and language attributes are covered per subtype; the abstract class itself has not been examined. The Reference Model is the authority for its definition, not any downstream representation of it. |
CLUSTER.media_file 0..1 | openEHR | Not yet discussed. The published Media File CLUSTER archetype is a closer target for a FHIR Attachment than a bare DV_MULTIMEDIA, but archetype-level mapping is out of scope for this pass. |
COMPOSITION 0..1 | openEHR | Not yet discussed. Encounter-level structures — COMPOSITION, SECTION, and the ENTRY subtypes — correspond to FHIR resources rather than to data types. Resource- and profile-level mapping is a separate deliverable. |
PARTY_RELATED 0..1 | openEHR | Not yet discussed. PARTY_RELATED adds a relationship to PARTY_IDENTIFIED. It is caught up in the pending LINK / PARTY_IDENTIFIED / OBJECT_REF unification and has not been examined on its own. |