FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageopenehr.ehds.fhir.dataexchange
Resource TypeStructureDefinition
IdStructureDefinition-CodePhrase.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/freshehr/EHDS-openEHR-FHIR-IG/StructureDefinition-CodePhrase.html
URLhttps://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/CodePhrase
Version0.1.0
Statusdraft
Date2026-03-25T15:55:34+00:00
NameDvCodePhrase
Typehttps://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/CodePhrase
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
openehr.base#currentCODE-PHRASECODE_PHRASE

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition CodePhrase

NameFlagsCard.TypeDescription & Constraintsdoco
.. CodePhrase 0..*CODE_PHRASECodePhrase

Elements defined in Ancestors:terminology_id, code_string, preferred_term

doco Documentation for this format

Source1

{
  "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"
      }
    ]
  }
}