OpenEHR Base package
0.1.0 - First Draft International flag

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

Logical Model: DV_CODED_TEXT

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

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_CODED_TEXT 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
... CR 1..1 string Carriage return character.
... LF 1..1 string Line feed character.
... Local_terminology_id 1..1 string Predefined terminology identifier
... hyperlink 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.
... formatting 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.
... mappings 0..* TERM_MAPPING Terms from other terminologies most closely matching this term, typically used where the originator (e.
... language 0..1 CODE_PHRASE Optional indicator of the localised language in which the value is written.
... encoding 0..1 CODE_PHRASE Name of character encoding scheme in which this value is encoded.
... defining_code 1..1 CODE_PHRASE The term of which the `_value_` attribute is the textual rendition (i.

doco Documentation for this format

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_CODED_TEXT 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
... defining_code 1..1 CODE_PHRASE The term of which the `_value_` attribute is the textual rendition (i.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_CODED_TEXT 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
... CR 1..1 string Carriage return character.
... LF 1..1 string Line feed character.
... Local_terminology_id 1..1 string Predefined terminology identifier
... hyperlink 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.
... formatting 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.
... mappings 0..* TERM_MAPPING Terms from other terminologies most closely matching this term, typically used where the originator (e.
... language 0..1 CODE_PHRASE Optional indicator of the localised language in which the value is written.
... encoding 0..1 CODE_PHRASE Name of character encoding scheme in which this value is encoded.
... defining_code 1..1 CODE_PHRASE The term of which the `_value_` attribute is the textual rendition (i.

doco Documentation for this format

Constraints

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

Summary

Mandatory: 0 element(1 nested mandatory element)

Maturity: 3

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_CODED_TEXT 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
... CR 1..1 string Carriage return character.
... LF 1..1 string Line feed character.
... Local_terminology_id 1..1 string Predefined terminology identifier
... hyperlink 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.
... formatting 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.
... mappings 0..* TERM_MAPPING Terms from other terminologies most closely matching this term, typically used where the originator (e.
... language 0..1 CODE_PHRASE Optional indicator of the localised language in which the value is written.
... encoding 0..1 CODE_PHRASE Name of character encoding scheme in which this value is encoded.
... defining_code 1..1 CODE_PHRASE The term of which the `_value_` attribute is the textual rendition (i.

doco Documentation for this format

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_CODED_TEXT 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
... defining_code 1..1 CODE_PHRASE The term of which the `_value_` attribute is the textual rendition (i.

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_CODED_TEXT 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
... CR 1..1 string Carriage return character.
... LF 1..1 string Line feed character.
... Local_terminology_id 1..1 string Predefined terminology identifier
... hyperlink 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.
... formatting 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.
... mappings 0..* TERM_MAPPING Terms from other terminologies most closely matching this term, typically used where the originator (e.
... language 0..1 CODE_PHRASE Optional indicator of the localised language in which the value is written.
... encoding 0..1 CODE_PHRASE Name of character encoding scheme in which this value is encoded.
... defining_code 1..1 CODE_PHRASE The term of which the `_value_` attribute is the textual rendition (i.

doco Documentation for this format

Constraints

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

Summary

Mandatory: 0 element(1 nested mandatory element)

Maturity: 3

 

Other representations of profile: CSV, Excel