PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.twcore@0.1.1
    https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw
{
  "description": "此臺灣Coding Profile說明本IG如何進一步定義FHIR的Coding資料類型以呈現Coding  [[*FMM1*](http://build.fhir.org/versions.html#maturity)]",
  "_filename": "StructureDefinition-Coding-tw.json",
  "package_name": "tw.gov.mohw.twcore",
  "date": "2023-08-30T12:38:12+08:00",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "CodingTW",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/orim",
    "name": "Ontological RIM Mapping",
    "identity": "orim"
  } ],
  "abstract": false,
  "type": "Coding",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "TW Coding",
  "package_version": "0.1.1",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Coding",
      "min": 0,
      "definition": "由專門術語系統(terminology system)所定義之代碼的參照",
      "isModifier": false,
      "short": "由專門術語系統(terminology system)定義的代碼",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      } ],
      "max": "*",
      "id": "Coding",
      "condition": [ "ele-1" ],
      "comment": "代碼可以在列舉清單(enumerations)或代碼清單(code lists)中非常隨意地定義,直至有非常正式的定義,例如:SNOMED CT—更多資訊見HL7 v3核心原則(Core Principles )。編碼的排序是未定義的因而 **必須沒有(SHALL NOT)** 被用來推斷意義。一般來說,最多只有一個編碼值(coding values)會被標記為UserSelected = true。",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Coding"
      }
    }, {
      "path": "Coding.id",
      "min": 0,
      "definition": "resource中資料項目的唯一ID(用於內部參照),這可以是任何不含空格的字串。",
      "isModifier": false,
      "short": "唯一可識別ID,以供資料項目間相互參照。",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Coding.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Coding.extension",
      "min": 0,
      "definition": "可用於表示不屬於此資料項目基本定義的附加資訊。為了擴充的使用安全和可管理,對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充,但作為擴充定義的一部分,有一套要求 **必須(SHALL)** 滿足。",
      "isModifier": false,
      "short": "擴充的資料項目",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Coding.extension",
      "comment": "無論使用或定義擴充的機構或管轄區,任何應用程式、專案或標準使用擴充都不背負任何污名(stigma)。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Coding.system",
      "requirements": "需要明確說明符號定義的來源",
      "min": 0,
      "definition": "定義代碼中符號意義的代碼系統識別",
      "isModifier": false,
      "short": "專門術語系統(terminology system)的識別",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Coding.system",
      "comment": "URI可以是一個OID(urn:oid:...)或一個UUID(urn:uuid:...);OID和UUID **必須(SHALL)** 參照HL7 OID註冊中心;否則,URI應該來自HL7的FHIR定義的特殊URI列表,或者它應該參照一些明確建立的系统定義。",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Coding.version",
      "min": 0,
      "definition": "選擇此代碼時使用的代碼系統版本;請注意,一個維護良好的代碼系統不需要版本報告,因為代碼的意義在不同系統版本中是一致的;然而,不能始終保證這點,當不能保證意義一致時, **必須(SHALL)** 將版本資訊也一併作交換。",
      "isModifier": false,
      "short": "系統的版本—如果相關的話",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Coding.version",
      "comment": "如果專門術語沒有明確定義應該使用什麼字串來識別代碼系統的版本,建議使用版本正式發布的日期(用FHIR日期格式表示)作為版本日期。",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Coding.code",
      "requirements": "需要參照系統中的一個特定代碼",
      "min": 0,
      "definition": "系統定義的語法之符號;符號可能是一個預先定義的代碼,也可能是代碼系統定義的語法中的表達式(如後組合配對/後組合式)。",
      "isModifier": false,
      "short": "系統定義的語法之符號",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Coding.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Coding.display",
      "requirements": "需要能為不了解此系統的讀者呈現可讀的代碼含義",
      "min": 0,
      "definition": "遵循系統的規則以呈現代碼含義的表示法",
      "isModifier": false,
      "short": "由系統定義的表示法",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Coding.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Coding.userSelected",
      "requirements": "已被確定為一個臨床安全準則—此確切的系統/代碼對(code pair)是被明確選擇的,而不是由系統根據一些規則或是程式語言處理判斷。",
      "min": 0,
      "definition": "表明此編碼是由使用者直接選擇,例如:從可用項目(代碼或顯示名稱)的清單中選擇。",
      "isModifier": false,
      "short": "此編碼是否由使用者直接選擇?",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Coding.userSelected",
      "comment": "在一系列備選方案中,直接選擇的代碼是新翻譯最合適的起點;關於「直接選擇」的確切意義,存在模糊不清之處,可能需要貿易夥伴的同意,以更完整澄清此資料項目的使用及其後果。",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    } ]
  },
  "status": "active",
  "id": "996db66a-5e81-4f54-b7c2-663e8bff9937",
  "kind": "complex-type",
  "url": "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw",
  "version": "0.1.1",
  "differential": {
    "element": [ {
      "id": "Coding",
      "path": "Coding",
      "short": "由專門術語系統(terminology system)定義的代碼",
      "comment": "代碼可以在列舉清單(enumerations)或代碼清單(code lists)中非常隨意地定義,直至有非常正式的定義,例如:SNOMED CT—更多資訊見HL7 v3核心原則(Core Principles )。編碼的排序是未定義的因而 **必須沒有(SHALL NOT)** 被用來推斷意義。一般來說,最多只有一個編碼值(coding values)會被標記為UserSelected = true。",
      "definition": "由專門術語系統(terminology system)所定義之代碼的參照"
    }, {
      "id": "Coding.id",
      "path": "Coding.id",
      "short": "唯一可識別ID,以供資料項目間相互參照。",
      "definition": "resource中資料項目的唯一ID(用於內部參照),這可以是任何不含空格的字串。"
    }, {
      "id": "Coding.extension",
      "path": "Coding.extension",
      "short": "擴充的資料項目",
      "comment": "無論使用或定義擴充的機構或管轄區,任何應用程式、專案或標準使用擴充都不背負任何污名(stigma)。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。",
      "definition": "可用於表示不屬於此資料項目基本定義的附加資訊。為了擴充的使用安全和可管理,對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充,但作為擴充定義的一部分,有一套要求 **必須(SHALL)** 滿足。"
    }, {
      "id": "Coding.system",
      "path": "Coding.system",
      "short": "專門術語系統(terminology system)的識別",
      "comment": "URI可以是一個OID(urn:oid:...)或一個UUID(urn:uuid:...);OID和UUID **必須(SHALL)** 參照HL7 OID註冊中心;否則,URI應該來自HL7的FHIR定義的特殊URI列表,或者它應該參照一些明確建立的系统定義。",
      "definition": "定義代碼中符號意義的代碼系統識別",
      "mustSupport": true,
      "requirements": "需要明確說明符號定義的來源"
    }, {
      "id": "Coding.version",
      "path": "Coding.version",
      "short": "系統的版本—如果相關的話",
      "comment": "如果專門術語沒有明確定義應該使用什麼字串來識別代碼系統的版本,建議使用版本正式發布的日期(用FHIR日期格式表示)作為版本日期。",
      "definition": "選擇此代碼時使用的代碼系統版本;請注意,一個維護良好的代碼系統不需要版本報告,因為代碼的意義在不同系統版本中是一致的;然而,不能始終保證這點,當不能保證意義一致時, **必須(SHALL)** 將版本資訊也一併作交換。"
    }, {
      "id": "Coding.code",
      "path": "Coding.code",
      "short": "系統定義的語法之符號",
      "definition": "系統定義的語法之符號;符號可能是一個預先定義的代碼,也可能是代碼系統定義的語法中的表達式(如後組合配對/後組合式)。",
      "mustSupport": true,
      "requirements": "需要參照系統中的一個特定代碼"
    }, {
      "id": "Coding.display",
      "path": "Coding.display",
      "short": "由系統定義的表示法",
      "definition": "遵循系統的規則以呈現代碼含義的表示法",
      "mustSupport": true,
      "requirements": "需要能為不了解此系統的讀者呈現可讀的代碼含義"
    }, {
      "id": "Coding.userSelected",
      "path": "Coding.userSelected",
      "short": "此編碼是否由使用者直接選擇?",
      "comment": "在一系列備選方案中,直接選擇的代碼是新翻譯最合適的起點;關於「直接選擇」的確切意義,存在模糊不清之處,可能需要貿易夥伴的同意,以更完整澄清此資料項目的使用及其後果。",
      "definition": "表明此編碼是由使用者直接選擇,例如:從可用項目(代碼或顯示名稱)的清單中選擇。",
      "requirements": "已被確定為一個臨床安全準則—此確切的系統/代碼對(code pair)是被明確選擇的,而不是由系統根據一些規則或是程式語言處理判斷。"
    } ]
  },
  "contact": [ {
    "name": "衛生福利部",
    "telecom": [ {
      "value": "https://www.mohw.gov.tw/",
      "system": "url"
    }, {
      "value": "CCYU@mohw.gov.tw",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Coding"
}