{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2020-12-01T09:26:38+00:00"
  },
  "url": "http://www.snubh.com/fhir/StructureDefinition/HistoryCondition",
  "name": "EZCaretech_HISCondition",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "min": 1
      },
      {
        "id": "Condition.code.coding",
        "path": "Condition.code.coding",
        "min": 1
      },
      {
        "id": "Condition.code.coding.extension",
        "path": "Condition.code.coding.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Condition.code.coding.extension:displayKor",
        "path": "Condition.code.coding.extension",
        "sliceName": "displayKor",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://www.snubh.com/fhir/StructureDefinition/DisplayKor"
            ]
          }
        ]
      },
      {
        "id": "Condition.code.coding.code",
        "path": "Condition.code.coding.code",
        "min": 1
      },
      {
        "id": "Condition.code.coding.display",
        "path": "Condition.code.coding.display",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.\r\n(진단명, 증상 최소한 구분되어야 할것 같은데 이게 텍스트 형식으로 오는 것은 맞는가?)",
        "min": 1
      },
      {
        "id": "Condition.recordedDate",
        "path": "Condition.recordedDate",
        "min": 1
      }
    ]
  }
}