{
"description": "A fully coordinated (i.e. all coordination has been performed) term from a terminology service (as distinct from a particular terminology). ",
"_filename": "StructureDefinition-CODE-PHRASE.json",
"package_name": "openehr.base",
"date": "2025-09-06T15:35:39+10:00",
"derivation": "specialization",
"publisher": "openEHR + HL7",
"fhirVersion": "5.0.0",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
} ]
} ],
"name": "CODE_PHRASE",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": false,
"type": "http://openehr.org/fhir/StructureDefinition/CODE_PHRASE",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "CODE_PHRASE",
"package_version": "0.1.0-snapshot",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/web-source",
"valueUrl": "https://specifications.openehr.org/releases/RM/Release-1.1.0/data_types.html#_code_phrase_class"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
"valueCode": "element-view-replace-cardinality"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 3,
"_valueInteger": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
} ]
}
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "informative",
"_valueCode": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
} ]
}
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "Code_string_valid",
"human": "Code string valid must not be empty",
"severity": "error",
"expression": "code_string.empty().not()"
} ],
"path": "CODE_PHRASE",
"min": 0,
"definition": "A fully coordinated (i.e. all coordination has been performed) term from a terminology service (as distinct from a particular terminology). ",
"isModifier": false,
"short": "A fully coordinated (i.",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"max": "*",
"id": "CODE_PHRASE",
"base": {
"max": "*",
"min": 0,
"path": "Base"
}
}, {
"path": "CODE_PHRASE.terminology_id",
"min": 1,
"definition": "Identifier of the distinct terminology from which the code_string (or its elements) was extracted.",
"isModifier": false,
"short": "Identifier of the distinct terminology from which the code_string (or its elements) was extracted.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/TERMINOLOGY-ID"
} ],
"max": "1",
"id": "CODE_PHRASE.terminology-id",
"base": {
"max": "1",
"min": 1,
"path": "CODE_PHRASE.terminology_id"
}
}, {
"path": "CODE_PHRASE.code_string",
"min": 1,
"definition": "The key used by the terminology service to identify a concept or coordination of concepts. This string is most likely parsable inside the terminology service, but nothing can be assumed about its syntax outside that context.",
"isModifier": false,
"short": "The key used by the terminology service to identify a concept or coordination of concepts.",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "CODE_PHRASE.code-string",
"base": {
"max": "1",
"min": 1,
"path": "CODE_PHRASE.code_string"
}
}, {
"path": "CODE_PHRASE.preferred_term",
"min": 0,
"definition": "Optional attribute to carry preferred term corresponding to the code or expression in `_code_string_`. Typical use in integration situations which create mappings, and representing data for which both a (non-preferred) actual term and a preferred term are both required.",
"isModifier": false,
"short": "Optional attribute to carry preferred term corresponding to the code or expression in `_code_string_`.",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "CODE_PHRASE.preferred-term",
"base": {
"max": "1",
"min": 0,
"path": "CODE_PHRASE.preferred_term"
}
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "0.1.0-snapshot"
} ]
},
"status": "active",
"id": "1f45c21f-7c10-4081-bd54-7f79fb09fc2c",
"kind": "logical",
"url": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE",
"version": "0.1.0-snapshot",
"differential": {
"element": [ {
"id": "CODE_PHRASE",
"max": "*",
"min": 0,
"path": "CODE_PHRASE",
"short": "A fully coordinated (i.",
"constraint": [ {
"key": "Code_string_valid",
"human": "Code string valid must not be empty",
"severity": "error",
"expression": "code_string.empty().not()"
} ],
"definition": "A fully coordinated (i.e. all coordination has been performed) term from a terminology service (as distinct from a particular terminology). ",
"isModifier": false
}, {
"id": "CODE_PHRASE.terminology-id",
"max": "1",
"min": 1,
"path": "CODE_PHRASE.terminology_id",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/TERMINOLOGY-ID"
} ],
"short": "Identifier of the distinct terminology from which the code_string (or its elements) was extracted.",
"definition": "Identifier of the distinct terminology from which the code_string (or its elements) was extracted.",
"isModifier": false
}, {
"id": "CODE_PHRASE.code-string",
"max": "1",
"min": 1,
"path": "CODE_PHRASE.code_string",
"type": [ {
"code": "string"
} ],
"short": "The key used by the terminology service to identify a concept or coordination of concepts.",
"definition": "The key used by the terminology service to identify a concept or coordination of concepts. This string is most likely parsable inside the terminology service, but nothing can be assumed about its syntax outside that context. ",
"isModifier": false
}, {
"id": "CODE_PHRASE.preferred-term",
"max": "1",
"min": 0,
"path": "CODE_PHRASE.preferred_term",
"type": [ {
"code": "string"
} ],
"short": "Optional attribute to carry preferred term corresponding to the code or expression in `_code_string_`.",
"definition": "Optional attribute to carry preferred term corresponding to the code or expression in `_code_string_`. Typical use in integration situations which create mappings, and representing data for which both a (non-preferred) actual term and a preferred term are both required.",
"isModifier": false
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://www.openehr.org",
"system": "url"
} ]
} ],
"baseDefinition": "http://openehr.org/fhir/StructureDefinition/Any"
}