OpenEHR Base package
0.1.0 - First Draft
OpenEHR Base package, published by openEHR + HL7. 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/base-spec/ and changes regularly. See the Directory of published versions
Official URL: http://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT | Version: 0.1.0 | |||
Standards status: Informative | Maturity Level: 3 | Computable Name: DV_CODED_TEXT |
A text item whose value must be the rubric from a controlled terminology, the key (i.e. the 'code') of which is the _defining_code_
attribute. In other words: a DV_CODED_TEXT
is a combination of a CODE_PHRASE
(effectively a code) and the rubric of that term, from a terminology service, in the language in which the data were authored.
Since DV_CODED_TEXT
is a subtype of DV_TEXT
, it can be used in place of it, effectively allowing the type DV_TEXT
to mean a text item, which may optionally be coded.
Misuse: If the intention is to represent a term code attached in some way to a fragment of plain text, DV_CODED_TEXT
should not be used; instead use a DV_TEXT
and a TERM_MAPPING
to a CODE_PHRASE
.
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_TEXT | A text item whose value must be the rubric from a controlled terminology, the key (i. Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding 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. | |
![]() |
Id | Grade | Path(s) | Description | Expression |
Formatting_valid | error | DV_CODED_TEXT | Formatting valid must not be empty |
formatting /= void implies formatting.empty().not()
|
Mappings_valid | error | DV_CODED_TEXT | Mappings valid must not be empty |
mappings /= void implies mappings.empty().not()
|
Valid_value | error | DV_CODED_TEXT | Valid value must not be empty |
value.empty().not()
|
This structure is derived from DV_TEXT
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | DV_TEXT | A text item whose value must be the rubric from a controlled terminology, the key (i. Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding | |
![]() ![]() ![]() |
1..1 | CODE_PHRASE | The term of which the `_value_` attribute is the textual rendition (i. | |
![]() |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DV_TEXT | A text item whose value must be the rubric from a controlled terminology, the key (i. Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding 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. | |
![]() |
Id | Grade | Path(s) | Description | Expression |
Formatting_valid | error | DV_CODED_TEXT | Formatting valid must not be empty |
formatting /= void implies formatting.empty().not()
|
Mappings_valid | error | DV_CODED_TEXT | Mappings valid must not be empty |
mappings /= void implies mappings.empty().not()
|
Valid_value | error | DV_CODED_TEXT | Valid value must not be empty |
value.empty().not()
|
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DV_TEXT | A text item whose value must be the rubric from a controlled terminology, the key (i. Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding 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. | |
![]() |
Id | Grade | Path(s) | Description | Expression |
Formatting_valid | error | DV_CODED_TEXT | Formatting valid must not be empty |
formatting /= void implies formatting.empty().not()
|
Mappings_valid | error | DV_CODED_TEXT | Mappings valid must not be empty |
mappings /= void implies mappings.empty().not()
|
Valid_value | error | DV_CODED_TEXT | Valid value must not be empty |
value.empty().not()
|
Differential View
This structure is derived from DV_TEXT
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | DV_TEXT | A text item whose value must be the rubric from a controlled terminology, the key (i. Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding | |
![]() ![]() ![]() |
1..1 | CODE_PHRASE | The term of which the `_value_` attribute is the textual rendition (i. | |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DV_TEXT | A text item whose value must be the rubric from a controlled terminology, the key (i. Elements defined in Ancestors:CR, LF, Local_terminology_id, value, hyperlink, formatting, mappings, language, encoding 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. | |
![]() |
Id | Grade | Path(s) | Description | Expression |
Formatting_valid | error | DV_CODED_TEXT | Formatting valid must not be empty |
formatting /= void implies formatting.empty().not()
|
Mappings_valid | error | DV_CODED_TEXT | Mappings valid must not be empty |
mappings /= void implies mappings.empty().not()
|
Valid_value | error | DV_CODED_TEXT | Valid value must not be empty |
value.empty().not()
|