臺灣核心實作指引(TW Core IG)
0.1.1 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.1.1: Releases) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Data Type Profile: CodeableConceptTW - JSON Profile

Active as of 2023-08-30

JSON representation of the CodeableConcept-tw data type profile.

Raw json | Download


{
  "resourceType" : "StructureDefinition",
  "id" : "CodeableConcept-tw",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>"
  },
  "url" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw",
  "version" : "0.1.1",
  "name" : "CodeableConceptTW",
  "title" : "TW CodeableConcept",
  "status" : "active",
  "date" : "2023-08-30T12:27:08+08:00",
  "contact" : [
    {
      "name" : "衛生福利部",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.mohw.gov.tw/"
        },
        {
          "system" : "email",
          "value" : "CCYU@mohw.gov.tw"
        }
      ]
    }
  ],
  "description" : "此臺灣CodeableConcept Profile說明本IG如何進一步定義FHIR的CodeableConcept資料類型以呈現CodeableConcept  [[*FMM1*](http://build.fhir.org/versions.html#maturity)]",
  "fhirVersion" : "4.0.1",
  "mapping" : [
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2 Mapping"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "orim",
      "uri" : "http://hl7.org/orim",
      "name" : "Ontological RIM Mapping"
    }
  ],
  "kind" : "complex-type",
  "abstract" : false,
  "type" : "CodeableConcept",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/CodeableConcept",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "CodeableConcept",
        "path" : "CodeableConcept",
        "short" : "概念(Concept)— 參照一個專門術語或只是文字表述",
        "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
        "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CodeableConcept",
          "min" : 0,
          "max" : "*"
        },
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE"
          },
          {
            "identity" : "rim",
            "map" : "CD"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id" : "CodeableConcept.id",
        "path" : "CodeableConcept.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "唯一可識別ID,以供資料項目間相互參照。",
        "definition" : "resource中資料項目的唯一ID(用於內部參照)。這可以是任何不含空格的字串。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CodeableConcept.extension",
        "path" : "CodeableConcept.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "擴充的資料項目",
        "definition" : "擴充的資料項目",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CodeableConcept.coding",
        "path" : "CodeableConcept.coding",
        "short" : "由專門術語系統(terminology system)定義的代碼",
        "definition" : "由專門術語系統(terminology system)所定義之代碼的參照",
        "comment" : "代碼可以在列舉清單(enumerations)或代碼清單(code lists)中非常隨意地定義,直至有非常正式的定義,例如:SNOMED CT—更多資訊見HL7 v3核心原則(Core Principles )。編碼的排序是未定義的因而 **必須沒有(SHALL NOT)** 被用來推斷意義。一般來說,最多只有一個編碼值(coding values)會被標記為UserSelected = true。",
        "requirements" : "允許代碼系統中的替代編碼,以及翻譯到其他編碼系統。",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CodeableConcept.coding",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding",
            "profile" : [
              "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"
            ]
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
          },
          {
            "identity" : "rim",
            "map" : "CV"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding rdfs:subClassOf dt:CDCoding"
          }
        ]
      },
      {
        "id" : "CodeableConcept.text",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "CodeableConcept.text",
        "short" : "概念的文字表示法",
        "definition" : "輸入資料的使用者所見/所選/所說的人類可讀文字表述,和(或)其代表使用者的預期含義。",
        "comment" : "很多時候,此文字表述與其中一個代碼的顯示名稱相同。",
        "requirements" : "專門術語中的代碼並不總是能捕捉人類使用的細微差別的正確意義,或者根本就沒有合適的代碼;這些情況下,文字表述被用來捕捉來源的全部意義。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "CodeableConcept",
        "path" : "CodeableConcept",
        "short" : "概念(Concept)— 參照一個專門術語或只是文字表述"
      },
      {
        "id" : "CodeableConcept.id",
        "path" : "CodeableConcept.id",
        "short" : "唯一可識別ID,以供資料項目間相互參照。",
        "definition" : "resource中資料項目的唯一ID(用於內部參照)。這可以是任何不含空格的字串。"
      },
      {
        "id" : "CodeableConcept.extension",
        "path" : "CodeableConcept.extension",
        "short" : "擴充的資料項目",
        "definition" : "擴充的資料項目"
      },
      {
        "id" : "CodeableConcept.coding",
        "path" : "CodeableConcept.coding",
        "short" : "由專門術語系統(terminology system)定義的代碼",
        "definition" : "由專門術語系統(terminology system)所定義之代碼的參照",
        "comment" : "代碼可以在列舉清單(enumerations)或代碼清單(code lists)中非常隨意地定義,直至有非常正式的定義,例如:SNOMED CT—更多資訊見HL7 v3核心原則(Core Principles )。編碼的排序是未定義的因而 **必須沒有(SHALL NOT)** 被用來推斷意義。一般來說,最多只有一個編碼值(coding values)會被標記為UserSelected = true。",
        "requirements" : "允許代碼系統中的替代編碼,以及翻譯到其他編碼系統。",
        "type" : [
          {
            "code" : "Coding",
            "profile" : [
              "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"
            ]
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "CodeableConcept.text",
        "path" : "CodeableConcept.text",
        "short" : "概念的文字表示法",
        "definition" : "輸入資料的使用者所見/所選/所說的人類可讀文字表述,和(或)其代表使用者的預期含義。",
        "comment" : "很多時候,此文字表述與其中一個代碼的顯示名稱相同。",
        "requirements" : "專門術語中的代碼並不總是能捕捉人類使用的細微差別的正確意義,或者根本就沒有合適的代碼;這些情況下,文字表述被用來捕捉來源的全部意義。",
        "mustSupport" : true
      }
    ]
  }
}