{
  "resourceType": "StructureDefinition",
  "id": "CodeableConcept",
  "meta": {
    "lastUpdated": "2020-03-16T15:16:22.918+00:00"
  },
  "url": "http://StructureDefinition.hl7fhir.cn/CodeableConcept",
  "name": "CodeableConcept",
  "title": "可编码概念",
  "status": "draft",
  "date": "2020-03-16T15:16:13.8885423+00:00",
  "fhirVersion": "4.0.0",
  "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": "概念——指向术语或通过文本来表示",
        "definition": "一种概念，它可以通过对术语或本体的正式引用来定义，也可以通过文本来表示。",
        "comment": "这是表示术语的常用模型，但并不适用于所有的术语。在某些情况下，会直接使用编码，并使用自己的结构来管理描述文本、编码、翻译、元素之间的关系、前协调（预置映射规则）和后协调（映射后置处理）。",
        "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"
          }
        ],
        "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": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "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"
          }
        ],
        "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": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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"
          },
          {
            "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "CodeableConcept.coding",
        "path": "CodeableConcept.coding",
        "label": "编码概念",
        "short": "由术语系统定义的编码",
        "definition": "一个引用自术语系统定义的编码。",
        "comment": "编码可以使用枚举值或编码列表非常随意地定义。也可以非常正式的定义，如SNOMED CT。请参阅HL7 v3核心原则。 此类型并未定义编码的顺序，并不得用于推断含义。通常，最多只有一个Coding的UserSelected属性被标记为true。",
        "requirements": "允许在代码系统中使用备用编码，并支持转换为其他代码系统。",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CodeableConcept.coding",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Coding"
            ]
          }
        ],
        "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"
          }
        ],
        "isSummary": true,
        "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"
          },
          {
            "identity": "v2",
            "map": "C*E.1-8, C*E.10-22"
          },
          {
            "identity": "rim",
            "map": "union(., ./translation)"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id": "CodeableConcept.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "CodeableConcept.text",
        "label": "概念描述",
        "short": "自然语言表示的概念",
        "definition": "自然语言表示的概念，它是由输入数据的用户看到、选择、说出，并代表着用户意图。",
        "comment": "通常此元素的文本与此资源中某一个coding元素的display属性值相同",
        "requirements": "术语中的代码并不总能精确的表达其所有细微差别的含义，或者有时根本没有合适的代码。在这些情况下，文本可用于表达编码的全部含义。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CodeableConcept.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "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": "概念——指向术语或通过文本来表示",
        "definition": "一种概念，它可以通过对术语或本体的正式引用来定义，也可以通过文本来表示。",
        "comment": "这是表示术语的常用模型，但并不适用于所有的术语。在某些情况下，会直接使用编码，并使用自己的结构来管理描述文本、编码、翻译、元素之间的关系、前协调（预置映射规则）和后协调（映射后置处理）。"
      },
      {
        "id": "CodeableConcept.coding",
        "path": "CodeableConcept.coding",
        "label": "编码概念",
        "short": "由术语系统定义的编码",
        "definition": "一个引用自术语系统定义的编码。",
        "comment": "编码可以使用枚举值或编码列表非常随意地定义。也可以非常正式的定义，如SNOMED CT。请参阅HL7 v3核心原则。 此类型并未定义编码的顺序，并不得用于推断含义。通常，最多只有一个Coding的UserSelected属性被标记为true。",
        "requirements": "允许在代码系统中使用备用编码，并支持转换为其他代码系统。",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Coding"
            ]
          }
        ]
      },
      {
        "id": "CodeableConcept.text",
        "path": "CodeableConcept.text",
        "label": "概念描述",
        "short": "自然语言表示的概念",
        "definition": "自然语言表示的概念，它是由输入数据的用户看到、选择、说出，并代表着用户意图。",
        "comment": "通常此元素的文本与此资源中某一个coding元素的display属性值相同",
        "requirements": "术语中的代码并不总能精确的表达其所有细微差别的含义，或者有时根本没有合适的代码。在这些情况下，文本可用于表达编码的全部含义。"
      }
    ]
  }
}