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 |
This category holds the types that do not fit any of the others: encapsulated binary and parsable content, and state machines.
DV_MULTIMEDIA ↔ Attachment is the substantial mapping here. The two
types agree on the essentials — media type, data, size, an integrity hash, a URI
alternative to inline data, and a language — and diverge on almost everything
around them. A hash computed with an algorithm other than SHA-1, which
Attachment.hash is defined as, travels in the core alternate-hash
extension, which FHIR-55422 added and the Extensions Registry 5.3.0 publishes.
A thumbnail travels in the core attachment-thumbnail extension, whose value
is itself an Attachment. FHIR-56002 added it, but it is not yet in a
published release of the Extensions Registry, so a validator using 5.3.0
rejects it until the next release.
DV_MULTIMEDIA also carries a compression algorithm;
Attachment carries a creation timestamp, height, width, frames, duration, and
pages. Neither set has a home on the other side, and each is recorded as its
own unmapped row naming who owns it. Because Attachment cannot say its
data is compressed, compressed inline data is decompressed during
conversion, so the FHIR data is the content its contentType describes;
content that cannot be decompressed — compress, other, or content held by
reference — is refused rather than copied under a type that would misdescribe
it. Two qualifications matter. The Attachment elements are
owned by openehr-modelling — the openEHR modelling team, which is a team,
not a ticket; there is no Jira number to quote, and the proposal to fold them
into the published Media File CLUSTER archetype is tracked on
Open Items. And Attachment.language is not among them:
DV_MULTIMEDIA inherits language from DV_ENCAPSULATED, so that one maps,
losing only the CODE_PHRASE's terminology identifier. No extension, code
system, or value set is invented here for any of the rest.
DV_PARSABLE wraps a string with a formalism naming the syntax it is
written in. The value maps to a FHIR string, or to markdown where the
formalism is markdown. The formalism itself has no FHIR home. The
mimeType extension is not it: its declared context is Questionnaire.item
and ElementDefinition, not string or any data type, and its purpose is a
design-time constraint on the attachments an element permits rather than a
statement about an instance. No substitute is invented here, so the gap is
published and the mapping is one-directional: a DV_PARSABLE becomes a
string, and a string alone cannot become a DV_PARSABLE, because
formalism is mandatory and only the element definition knows it. The decision
is open. A DV_PARSABLE also inherits language, carried
as DV_TEXT.language is, and charset, which a FHIR string — always UTF-8 —
does not carry; and an empty value, which some syntaxes allow, has no FHIR
string form.
DV_STATE carries a coded value plus an is_terminal flag and belongs to
an instruction state machine. FHIR has no data type for it: FHIR models workflow
state as resource-level elements such as Task.status, with its own state
machine. The value can be carried as a CodeableConcept, but the state machine
it belongs to cannot, so this is largely unmapped and the reason is recorded
rather than papered over.
DV_ENCAPSULATED, the abstract parent of DV_MULTIMEDIA and DV_PARSABLE, is
also noted here. The openEHR Reference Model is the authority for its
definition, and this guide cites the RM rather than any downstream
representation of it.
Reviewer coverage in this category is uneven — DV_MULTIMEDIA and DV_PARSABLE
have been reviewed from the FHIR side only. That is published in full on
Open Items rather than smoothed over, and rows the
specifications do not clearly support are recorded open rather than asserted.
See Conventions for how to read the tables.
| openEHR type | FHIR type | → FHIR | → openEHR | Maturity | Scope |
|---|---|---|---|---|---|
DV_MULTIMEDIA | Attachment | lossy | lossy | open | datatype |
DV_PARSABLE | string | lossy | unmapped | open | datatype |
DV_STATE | CodeableConcept | lossy | lossy | open | datatype |
Sources: openEHR RM — DV_MULTIMEDIA · FHIR R5 — Attachment · openEHR RM — DV_ENCAPSULATED · openEHR TERM — languages code set (External_id: ISO_639-1)
| openEHR field | FHIR target | → FHIR | → openEHR | Maturity | Notes |
|---|---|---|---|---|---|
DV_MULTIMEDIA.data 0..1 | Attachment.data | lossless | lossless | open | |
DV_MULTIMEDIA.uri 0..1 | Attachment.url | lossless | lossless | open | R5 requires a URL that is provided to "resolve to actual data". A plain-text URI is the sub-case below. |
DV_MULTIMEDIA.uri[plain-text] 0..1 | Attachment.url | lossy | lossless | open | → FHIR: drops 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 The same rule as DV_URI.value[plain-text] on Resource-Locator Data. |
DV_MULTIMEDIA.media_type 1..1 | Attachment.contentType | lossless | lossless | open | An IANA MIME type on both sides. A charset is carried as the MIME type’s charset parameter, and split back out of an incoming contentType — see the charset row. The openEHR attribute is mandatory and the FHIR element is optional, so an incoming instance that omits it cannot be converted: the reference implementation produces nothing rather than inventing a value. See the mandatory-attribute rule. |
DV_MULTIMEDIA.size 1..1 | Attachment.size | lossless | lossless | open | The original size in bytes, before any compression or encoding. 0 is a real size, not a missing one. The two types are not the same width: RM Integer is 32-bit and R5 Attachment.size is an integer64, so an attachment larger than 2,147,483,647 bytes has no DV_MULTIMEDIA.size to land in. That sub-case is the row below, and it is the same gap the numeric category publishes as Integer64[overflow] on Numeric Primitives. The two sides also differ on the wire: an integer64 is serialised as a JSON String, so a conformant Attachment.size for 20,416 bytes is "20416", while DV_MULTIMEDIA.size is the JSON number 20416 — the same reasoning the Integer64 row on Numeric Primitives sets out. The openEHR attribute is mandatory and the FHIR element is optional, so an incoming instance that omits it cannot be converted: the reference implementation produces nothing rather than inventing a value. See the mandatory-attribute rule. |
| — no counterpart (inventory) | Attachment.size[overflow] | unmapped | unmapped | open | → FHIR: openEHR cannot produce a value outside its own 32-bit range, so this case never arises in this direction. (owner: openehr-modelling) → openEHR: Nothing in openEHR can receive it, and size is mandatory, so no DV_MULTIMEDIA is produced at all rather than one carrying a truncated or invented size. Widening DV_MULTIMEDIA.size is an openEHR Reference Model question. (owner: openehr-modelling) Cross-refer to Integer64[overflow] on Numeric Primitives: it is the identical 32-bit/64-bit gap, and publishing one as a first-class unmapped row while folding the other into a lossless claim was a transcription slip rather than a position. The overflowing value is a JSON String like every other integer64, so the boundary case reads "4294967296", not 4294967296. |
DV_MULTIMEDIA.alternate_text 0..1 | Attachment.title | lossless | lossless | open | Display text to show in place of the multimedia content. |
DV_MULTIMEDIA.integrity_check 0..1 | when integrity_check_algorithm is SHA-1: Attachment.hashwhen integrity_check_algorithm is any other algorithm: Attachment.extension[alternate-hash].extension[hash]† (extension) | lossless | lossless | open | Attachment.hash is defined as SHA-1. The alternate-hash extension, published in the Extensions Registry 5.3.0 as the outcome of FHIR-55422, carries a hash computed with any other algorithm together with that algorithm; its hash is a string whose encoding the extension does not state, and this guide writes the same base64 form as Attachment.hash. A hash whose algorithm is not stated is the sub-case below. |
DV_MULTIMEDIA.integrity_check[no-algorithm] 0..1 | — no counterpart (inventory) | unmapped | unmapped | open | → FHIR: 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. (owner: working-group) → openEHR: Every FHIR hash states its algorithm, so this sub-case never arises. (owner: working-group) Whether to assume SHA-1 instead is a decision for the working group. |
DV_MULTIMEDIA.integrity_check_algorithm 0..1 | when the algorithm is SHA-1, which the element’s definition states: Attachment.hash when the algorithm is any other: Attachment.extension[alternate-hash].extension[algorithm]† (extension) | lossless | lossless | open | openEHR’s integrity check algorithms code set and FHIR’s integrity-check-algorithms code system hold the same seven codes — SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, and SHA-512/256 — so the code carries unchanged between openehr_integrity_check_algorithms and http://hl7.org/fhir/CodeSystem/integrity-check-algorithms. Where an Attachment carries both a SHA-1 hash and an alternate-hash, the FHIR-origin row below applies. |
| — no counterpart (inventory) | Attachment.hash[with-alternate-hash] | unmapped | unmapped | open | → FHIR: No DV_MULTIMEDIA produces two hashes. (owner: openehr-modelling) → openEHR: Where both arrive, the alternate-hash, which names its algorithm, is kept and the SHA-1 hash beside it is not carried. (owner: openehr-modelling) |
DV_MULTIMEDIA.compression_algorithm 0..1 | — no counterpart (inventory) | unmapped | unmapped | open | → FHIR: 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. (owner: FHIR-56003) → openEHR: Nothing arrives, because nothing was emitted. (owner: FHIR-56003) Decompression is the pragmatic alternative FHIR-56003 records, but it does not remove the need for the field entirely: content held by reference cannot be decompressed by a converter, and is refused. |
DV_MULTIMEDIA.compression_algorithm[not-decompressible] 0..1 | — no counterpart (inventory) | unmapped | unmapped | open | → FHIR: 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. (owner: FHIR-56003) → openEHR: Nothing arrives compressed: FHIR Attachment.data is the content itself. (owner: FHIR-56003) |
DV_MULTIMEDIA.data[compressed] 0..1 | — no counterpart (inventory) | lossy | unmapped | open | → FHIR: drops 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 → openEHR: Nothing arrives compressed: FHIR Attachment.data is the content itself. (owner: FHIR-56003) The sub-case is split out so the round-trip matrix can police it: the parent DV_MULTIMEDIA.data row keeps its lossless claim for data that is not compressed. |
DV_MULTIMEDIA.size[decompressed] 1..1 | — no counterpart (inventory) | lossy | unmapped | open | → FHIR: drops 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 → openEHR: Nothing arrives compressed, so there is no second size to carry back. (owner: FHIR-56003) |
DV_MULTIMEDIA.integrity_check[decompressed] 0..1 | — no counterpart (inventory) | unmapped | unmapped | open | → FHIR: 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. (owner: FHIR-56003) → openEHR: Nothing arrives compressed, so every incoming hash is of the content. (owner: FHIR-56003) |
DV_MULTIMEDIA.integrity_check_algorithm[decompressed] 0..1 | — no counterpart (inventory) | unmapped | unmapped | open | → FHIR: Goes with the check it names: see DV_MULTIMEDIA.integrity_check[decompressed]. (owner: FHIR-56003) → openEHR: Nothing arrives compressed, so every incoming algorithm names a hash of the content. (owner: FHIR-56003) |
DV_MULTIMEDIA.thumbnail 0..1 | Attachment.extension[attachment-thumbnail]† (extension) | lossless | lossless | open | FHIR-56002 added the attachment-thumbnail extension, whose value is itself an Attachment, so a thumbnail converts through this same mapping and its own drops are reported with its parent’s. The extension is in the Extensions Registry’s continuous build, not yet in a published release: 5.3.0 does not define it, so a validator using 5.3.0 rejects these instances until the next release. It replaces the documentreference-thumbnail flag, which is retired. |
DV_MULTIMEDIA.thumbnail[not-convertible] 0..1 | — no counterpart (inventory) | unmapped | unmapped | open | → FHIR: 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. (owner: working-group) → openEHR: Nothing arrives, because nothing was emitted. (owner: working-group) |
| — no counterpart (inventory) | Attachment.extension[attachment-thumbnail][additional]† (extension) | unmapped | unmapped | open | → FHIR: Nothing produces a second thumbnail. (owner: openehr-modelling) → openEHR: Only the first thumbnail is carried; any others are not, and are reported. (owner: openehr-modelling) |
| — no counterpart (inventory) | Attachment.extension[attachment-thumbnail][not-convertible]† (extension) | unmapped | unmapped | open | → FHIR: Nothing produces a thumbnail that cannot be converted back. (owner: working-group) → openEHR: A thumbnail Attachment that cannot itself become a DV_MULTIMEDIA — one without the contentType or size openEHR requires, for example — is left out, and the reasons are reported; the parent is still converted. (owner: working-group) |
| — no counterpart (inventory) | Attachment.extension[attachment-isThumbnail]† (extension) | unmapped | unmapped | open | → FHIR: Nothing produces it: a converted thumbnail travels in attachment-thumbnail, which already says what it is. (owner: openehr-modelling) → openEHR: openEHR has no such flag, so it is not carried, and is reported. (owner: openehr-modelling) Added with attachment-thumbnail by FHIR-56002, for an Attachment in a repeating element that is a reduced form of the content; in the Extensions Registry’s continuous build, not yet in a published release. |
| — no counterpart (inventory) | Attachment.creation | unmapped | unmapped | open | → FHIR: No DV_MULTIMEDIA attribute produces it. (owner: openehr-modelling) → openEHR: Carried by an extension archetype, not by the data type. This guide links the archetype and describes it; authoring it belongs to the openEHR modelling team, who have an open proposal to fold the extended elements into the published Media File CLUSTER. (owner: openehr-modelling) One row per element, because the page prose promises a per-element inventory and a reader looks for one. openehr-modelling is a team, not a ticket: the proposal to fold these elements into the published Media File CLUSTER is tracked on Open Items and has no Jira number. The Media File CLUSTER archetype, rather than a bare DV_MULTIMEDIA, is the closer target for a FHIR Attachment. |
| — no counterpart (inventory) | Attachment.height | unmapped | unmapped | open | → FHIR: No DV_MULTIMEDIA attribute produces it. (owner: openehr-modelling) → openEHR: Carried by an extension archetype, not by the data type: the height of a still image or video, in pixels has no openEHR data-type home. Authoring the archetype belongs to the openEHR modelling team. (owner: openehr-modelling) |
| — no counterpart (inventory) | Attachment.width | unmapped | unmapped | open | → FHIR: No DV_MULTIMEDIA attribute produces it. (owner: openehr-modelling) → openEHR: Carried by an extension archetype, not by the data type: the width of a still image or video, in pixels has no openEHR data-type home. Authoring the archetype belongs to the openEHR modelling team. (owner: openehr-modelling) |
| — no counterpart (inventory) | Attachment.frames | unmapped | unmapped | open | → FHIR: No DV_MULTIMEDIA attribute produces it. (owner: openehr-modelling) → openEHR: Carried by an extension archetype, not by the data type: the number of frames in a multi-frame image has no openEHR data-type home. Authoring the archetype belongs to the openEHR modelling team. (owner: openehr-modelling) |
| — no counterpart (inventory) | Attachment.duration | unmapped | unmapped | open | → FHIR: No DV_MULTIMEDIA attribute produces it. (owner: openehr-modelling) → openEHR: Carried by an extension archetype, not by the data type: the running length of an audio or video attachment, in seconds has no openEHR data-type home. Authoring the archetype belongs to the openEHR modelling team. (owner: openehr-modelling) |
| — no counterpart (inventory) | Attachment.pages | unmapped | unmapped | open | → FHIR: No DV_MULTIMEDIA attribute produces it. (owner: openehr-modelling) → openEHR: Carried by an extension archetype, not by the data type: the number of pages in a paginated document has no openEHR data-type home. Authoring the archetype belongs to the openEHR modelling team. (owner: openehr-modelling) |
DV_MULTIMEDIA.language 0..1 | Attachment.language | lossy | lossy | open | → FHIR: drops 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 → openEHR: drops 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 DV_MULTIMEDIA inherits language from DV_ENCAPSULATED (RM § 9.2.1), so — unlike creation, height, width, frames, duration, and pages — this one does have an openEHR counterpart, and folding it into a no-counterpart claim was a fabricated gap. Coming back, the two standards do not bind language to the same set: FHIR’s binding is BCP 47 and openEHR publishes exactly one language code set, Id: languages, External_id: ISO_639-1, which DV_ENCAPSULATED.Language_valid requires the value to belong to. BCP 47 strictly contains ISO 639-1, so the inbound conversion is a narrowing and says so, rather than deriving an openEHR identifier from a FHIR binding. |
DV_MULTIMEDIA.charset 0..1 | Attachment.contentType[charset] | lossless | lossless | settled | R5 says contentType "includes mime type parameters such as charset", so the IANA character-set name DV_MULTIMEDIA.charset holds is carried as the MIME type’s charset parameter, and split back out of an incoming contentType into IANA_character-sets. The DV_ENCAPSULATED parent also brings language. Note that the openEHR Base IG models DV_ENCAPSULATED differently from the Reference Model; the Reference Model is the authority cited here. |
{
"_type": "DV_MULTIMEDIA",
"media_type": {
"_type": "CODE_PHRASE",
"terminology_id": {
"value": "IANA_media-types"
},
"code_string": "image/png"
},
"size": 20416,
"uri": {
"_type": "DV_URI",
"value": "https://example.org/images/chest-xray.png"
},
"alternate_text": "Chest X-ray, PA view"
}
{
"contentType": "image/png",
"url": "https://example.org/images/chest-xray.png",
"size": "20416",
"title": "Chest X-ray, PA view"
}
Sources: openEHR RM — DV_PARSABLE · FHIR R5 — string · openEHR RM — DV_ENCAPSULATED
| openEHR field | FHIR target | → FHIR | → openEHR | Maturity | Notes |
|---|---|---|---|---|---|
DV_PARSABLE.value 1..1 | string.value | lossless | unmapped | open | → openEHR: 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. (owner: session:dv-parsable-formalism) Where the formalism is markdown, a markdown element is the better target. Three targets other than a bare string do state a syntax: a Coding whose system names it — HGVS has the THO-registered identifier http://varnomen.hgvs.org — an Attachment, whose contentType names it where the formalism is a MIME type, and an Expression, whose language and expression mirror formalism and value where the formalism is an expression language. All three are recorded on Open Items as partial routes. An empty value is the sub-case below. |
DV_PARSABLE.value[empty] 1..1 | — no counterpart (inventory) | unmapped | unmapped | settled | → FHIR: The RM says the value "may validly be empty in some syntaxes". Nothing is produced rather than a string a validator rejects. → openEHR: A string is never empty, so nothing arrives. |
DV_PARSABLE.formalism 1..1 | — no counterpart (inventory) | unmapped | unmapped | open | → FHIR: 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. (owner: session:dv-parsable-formalism) → openEHR: Nothing arrives to map back, because nothing was emitted. (owner: session:dv-parsable-formalism) formalism is mandatory in openEHR, so this gap is what makes DV_PARSABLE ↔ string a one-way mapping: the value travels to FHIR, and nothing travels back. Inventing a FHIR usage to fill an openEHR gap is exactly what this guide will not do, so no substitute extension is proposed here — the decision belongs to the working group, and it is recorded as open. |
DV_PARSABLE.language 0..1 | string.extension[language]† (extension) | lossy | unmapped | open | → FHIR: drops 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 → openEHR: No DV_PARSABLE is produced from a string, so nothing lands in language; see the value row. (owner: session:dv-parsable-formalism) Inherited from DV_ENCAPSULATED, and carried as DV_TEXT.language is on a string. |
DV_PARSABLE.charset 0..1 | — no counterpart (inventory) | unmapped | unmapped | settled | → FHIR: Not carried: the sender converts non-UTF-8 content to UTF-8 before mapping, as Cross-Cutting Concerns sets out. → openEHR: Nothing arrives as a distinct field. |
{
"_type": "DV_PARSABLE",
"value": "NM_000059.3:c.274G>A",
"formalism": "text/x-hgvs"
}
{
"value": "NM_000059.3:c.274G>A"
}
Sources: openEHR RM — DV_STATE · FHIR R5 — CodeableConcept
| openEHR field | FHIR target | → FHIR | → openEHR | Maturity | Notes |
|---|---|---|---|---|---|
DV_STATE.value 1..1 | CodeableConcept | lossy | lossy | open | → FHIR: drops 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 → openEHR: drops 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 The state name maps as an ordinary DV_CODED_TEXT; see Coded Data. What does not map is the state machine it belongs to. A code from openEHR’s own terminology currently reaches Coding.system as the bare openehr, which R5 does not accept as a system; the published openEHR FHIR CodeSystems are recorded on Open Items as the answer. The openEHR attribute is mandatory and the FHIR element is optional, so an incoming instance that omits it cannot be converted: the reference implementation produces nothing rather than inventing a value. See the mandatory-attribute rule. |
DV_STATE.is_terminal 1..1 | — no counterpart (inventory) | unmapped | unmapped | open | → FHIR: 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. (owner: working-group) → openEHR: is_terminal is mandatory in openEHR, so a mapping engine must infer it from the state machine the archetype defines — an inference, not a carried value. (owner: working-group) DV_STATE sees very little use. One participant has never seen it used at all and suggests it is legacy, superseded by ISM_TRANSITION. This row is one of the two recorded exceptions to the mandatory-attribute rule: nothing in a CodeableConcept can source is_terminal, the openEHR-only gap is published here, and the reference implementation infers false rather than refusing the whole conversion. contract.test.ts pins the exception, so the list cannot grow unnoticed. |