EHDS openEHR data exchange
0.1.0 - ci-build
EHDS openEHR data exchange, published by Ian. 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/freshehr/EHDS-openEHR-FHIR-IG/ and changes regularly. See the Directory of published versions
| Official URL: https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText | Version: 0.1.0 | |||
| Draft as of 2026-03-25 | Computable Name: DvCodedText | |||
openEHR CodedText FSH wrapper
Original Source: specifications.openehr.org
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | DV_CODED_TEXT | openEHR CodedText Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding, defining_code Instances of this logical model are not marked to be the target of a Reference Constraints: Valid_value, Mappings_valid, Formatting_valid |
![]() ![]() |
1..1 | string | Carriage return character. | |
![]() ![]() |
1..1 | string | Line feed character. | |
![]() ![]() |
1..1 | string | Predefined terminology identifier | |
![]() ![]() |
1..1 | string | Displayable rendition of the item, regardless of its underlying structure. | |
![]() ![]() |
0..1 | DV_URI | DEPRECATED: this field is deprecated; use markdown link/text in the `_value_` attribute, and `"markdown"` as the value of the `_formatting_` field. | |
![]() ![]() |
0..1 | string | If set, contains one of the following values: * `"plain"`: use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); * `"plain_no_newlines"`: use for text containing no newlines or other formatting; * `"markdown"`: use for markdown formatted text, strongly recommended in the format of the CommonMark specification. | |
![]() ![]() |
0..* | TERM_MAPPING | Terms from other terminologies most closely matching this term, typically used where the originator (e. | |
![]() ![]() |
0..1 | CODE_PHRASE | Optional indicator of the localised language in which the value is written. | |
![]() ![]() |
0..1 | CODE_PHRASE | Name of character encoding scheme in which this value is encoded. | |
![]() ![]() |
1..1 | CODE_PHRASE | The term of which the `_value_` attribute is the textual rendition (i. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Formatting_valid | error | DvCodedText | Formatting valid must not be empty |
formatting /= void implies formatting.empty().not()
|
| Mappings_valid | error | DvCodedText | Mappings valid must not be empty |
mappings /= void implies mappings.empty().not()
|
| Valid_value | error | DvCodedText | Valid value must not be empty |
value.empty().not()
|
This structure is derived from DV_CODED_TEXT
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DV_CODED_TEXT | openEHR CodedText Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding, defining_code Instances of this logical model are not marked to be the target of a Reference | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | DV_CODED_TEXT | openEHR CodedText Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding, defining_code Instances of this logical model are not marked to be the target of a Reference Constraints: Valid_value, Mappings_valid, Formatting_valid |
![]() ![]() |
1..1 | string | Carriage return character. | |
![]() ![]() |
1..1 | string | Line feed character. | |
![]() ![]() |
1..1 | string | Predefined terminology identifier | |
![]() ![]() |
1..1 | string | Displayable rendition of the item, regardless of its underlying structure. | |
![]() ![]() |
0..1 | DV_URI | DEPRECATED: this field is deprecated; use markdown link/text in the `_value_` attribute, and `"markdown"` as the value of the `_formatting_` field. | |
![]() ![]() |
0..1 | string | If set, contains one of the following values: * `"plain"`: use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); * `"plain_no_newlines"`: use for text containing no newlines or other formatting; * `"markdown"`: use for markdown formatted text, strongly recommended in the format of the CommonMark specification. | |
![]() ![]() |
0..* | TERM_MAPPING | Terms from other terminologies most closely matching this term, typically used where the originator (e. | |
![]() ![]() |
0..1 | CODE_PHRASE | Optional indicator of the localised language in which the value is written. | |
![]() ![]() |
0..1 | CODE_PHRASE | Name of character encoding scheme in which this value is encoded. | |
![]() ![]() |
1..1 | CODE_PHRASE | The term of which the `_value_` attribute is the textual rendition (i. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Formatting_valid | error | DvCodedText | Formatting valid must not be empty |
formatting /= void implies formatting.empty().not()
|
| Mappings_valid | error | DvCodedText | Mappings valid must not be empty |
mappings /= void implies mappings.empty().not()
|
| Valid_value | error | DvCodedText | Valid value must not be empty |
value.empty().not()
|
This structure is derived from DV_CODED_TEXT
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | DV_CODED_TEXT | openEHR CodedText Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding, defining_code Instances of this logical model are not marked to be the target of a Reference Constraints: Valid_value, Mappings_valid, Formatting_valid |
![]() ![]() |
1..1 | string | Carriage return character. | |
![]() ![]() |
1..1 | string | Line feed character. | |
![]() ![]() |
1..1 | string | Predefined terminology identifier | |
![]() ![]() |
1..1 | string | Displayable rendition of the item, regardless of its underlying structure. | |
![]() ![]() |
0..1 | DV_URI | DEPRECATED: this field is deprecated; use markdown link/text in the `_value_` attribute, and `"markdown"` as the value of the `_formatting_` field. | |
![]() ![]() |
0..1 | string | If set, contains one of the following values: * `"plain"`: use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); * `"plain_no_newlines"`: use for text containing no newlines or other formatting; * `"markdown"`: use for markdown formatted text, strongly recommended in the format of the CommonMark specification. | |
![]() ![]() |
0..* | TERM_MAPPING | Terms from other terminologies most closely matching this term, typically used where the originator (e. | |
![]() ![]() |
0..1 | CODE_PHRASE | Optional indicator of the localised language in which the value is written. | |
![]() ![]() |
0..1 | CODE_PHRASE | Name of character encoding scheme in which this value is encoded. | |
![]() ![]() |
1..1 | CODE_PHRASE | The term of which the `_value_` attribute is the textual rendition (i. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Formatting_valid | error | DvCodedText | Formatting valid must not be empty |
formatting /= void implies formatting.empty().not()
|
| Mappings_valid | error | DvCodedText | Mappings valid must not be empty |
mappings /= void implies mappings.empty().not()
|
| Valid_value | error | DvCodedText | Valid value must not be empty |
value.empty().not()
|
Differential View
This structure is derived from DV_CODED_TEXT
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DV_CODED_TEXT | openEHR CodedText Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding, defining_code Instances of this logical model are not marked to be the target of a Reference | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | DV_CODED_TEXT | openEHR CodedText Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding, defining_code Instances of this logical model are not marked to be the target of a Reference Constraints: Valid_value, Mappings_valid, Formatting_valid |
![]() ![]() |
1..1 | string | Carriage return character. | |
![]() ![]() |
1..1 | string | Line feed character. | |
![]() ![]() |
1..1 | string | Predefined terminology identifier | |
![]() ![]() |
1..1 | string | Displayable rendition of the item, regardless of its underlying structure. | |
![]() ![]() |
0..1 | DV_URI | DEPRECATED: this field is deprecated; use markdown link/text in the `_value_` attribute, and `"markdown"` as the value of the `_formatting_` field. | |
![]() ![]() |
0..1 | string | If set, contains one of the following values: * `"plain"`: use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); * `"plain_no_newlines"`: use for text containing no newlines or other formatting; * `"markdown"`: use for markdown formatted text, strongly recommended in the format of the CommonMark specification. | |
![]() ![]() |
0..* | TERM_MAPPING | Terms from other terminologies most closely matching this term, typically used where the originator (e. | |
![]() ![]() |
0..1 | CODE_PHRASE | Optional indicator of the localised language in which the value is written. | |
![]() ![]() |
0..1 | CODE_PHRASE | Name of character encoding scheme in which this value is encoded. | |
![]() ![]() |
1..1 | CODE_PHRASE | The term of which the `_value_` attribute is the textual rendition (i. | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| Formatting_valid | error | DvCodedText | Formatting valid must not be empty |
formatting /= void implies formatting.empty().not()
|
| Mappings_valid | error | DvCodedText | Mappings valid must not be empty |
mappings /= void implies mappings.empty().not()
|
| Valid_value | error | DvCodedText | Valid value must not be empty |
value.empty().not()
|
This structure is derived from DV_CODED_TEXT