FHIR IG analytics| Package | openehr.ehds.fhir.dataexchange |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-CodePhrase.json |
| FHIR Version | R4 |
| Source | https://build.fhir.org/ig/freshehr/EHDS-openEHR-FHIR-IG/StructureDefinition-CodePhrase.html |
| URL | https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/CodePhrase |
| Version | 0.1.0 |
| Status | draft |
| Date | 2026-03-25T15:55:34+00:00 |
| Name | DvCodePhrase |
| Type | https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/CodePhrase |
| Kind | logical |
No resources found
| StructureDefinition | ||
| openehr.base#current | CODE-PHRASE | CODE_PHRASE |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition CodePhrase
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 0..* | CODE_PHRASE | CodePhrase Elements defined in Ancestors:terminology_id, code_string, preferred_term | |
{
"resourceType": "StructureDefinition",
"id": "CodePhrase",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"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/tools/StructureDefinition/view-hint",
"valueCode": "element-view-replace-cardinality"
},
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
"valueCode": "element-view-replace-cardinality"
}
],
"url": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/CodePhrase",
"version": "0.1.0",
"name": "DvCodePhrase",
"status": "draft",
"date": "2026-03-25T15:55:34+00:00",
"publisher": "Ian",
"contact": [
{
"name": "Ian",
"telecom": [
{
"system": "url",
"value": "http://example.org/example-publisher"
}
]
}
],
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "logical",
"abstract": false,
"type": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/CodePhrase",
"baseDefinition": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE",
"derivation": "specialization",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "0.1.0-snapshot"
}
],
"element": [
{
"id": "CodePhrase",
"path": "CodePhrase",
"short": "CodePhrase",
"definition": "openEHR CodePhrase",
"min": 0,
"max": "*",
"base": {
"path": "Base",
"min": 0,
"max": "*"
},
"constraint": [
{
"key": "Code_string_valid",
"severity": "error",
"human": "Code string valid must not be empty",
"expression": "code_string.empty().not()",
"source": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE"
}
],
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "CodePhrase.terminology-id",
"path": "CodePhrase.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.",
"min": 1,
"max": "1",
"base": {
"path": "CODE_PHRASE.terminology_id",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/TERMINOLOGY-ID"
}
],
"isModifier": false
},
{
"id": "CodePhrase.code-string",
"path": "CodePhrase.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.",
"min": 1,
"max": "1",
"base": {
"path": "CODE_PHRASE.code_string",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false
},
{
"id": "CodePhrase.preferred-term",
"path": "CodePhrase.preferred_term",
"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.",
"min": 0,
"max": "1",
"base": {
"path": "CODE_PHRASE.preferred_term",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false
}
]
},
"differential": {
"element": [
{
"id": "CodePhrase",
"path": "CodePhrase",
"short": "CodePhrase",
"definition": "openEHR CodePhrase"
}
]
}
}