{
  "resourceType": "StructureDefinition",
  "id": "krcore-allergyintolerance",
  "meta": {
    "lastUpdated": "2021-11-14T15:56:42.229+00:00"
  },
  "url": "https://example.org/fhir/krcore/StructureDefinition/krcore-allergyintolerance",
  "name": "KRCore_AllergyIntolerance",
  "title": "KR Core AllergyIntolerance Profile",
  "status": "draft",
  "date": "2021-11-14T10:27:46.0547408Z",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance",
        "path": "AllergyIntolerance",
        "short": "KR Core AllergyIntolerance Profile"
      },
      {
        "id": "AllergyIntolerance.clinicalStatus",
        "path": "AllergyIntolerance.clinicalStatus",
        "short": "알레르기 및 불내성 현재 상태: active(활동) | inactive(미활동) | resolved(완치)",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding",
        "path": "AllergyIntolerance.clinicalStatus.coding",
        "short": "정의된 코드"
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.system",
        "path": "AllergyIntolerance.clinicalStatus.coding.system",
        "short": "코드체계 식별자",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.coding.code",
        "path": "AllergyIntolerance.clinicalStatus.coding.code",
        "short": "코드값",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.verificationStatus",
        "path": "AllergyIntolerance.verificationStatus",
        "short": "알러지 및 부작용 검증 상태: unconfirmed(미검증) | confirmed(검증) | refuted(부정된) | entered-in-error(입력 오류)"
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding",
        "path": "AllergyIntolerance.verificationStatus.coding",
        "short": "정의된 코드"
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.system",
        "path": "AllergyIntolerance.verificationStatus.coding.system",
        "short": "코드체계 식별자"
      },
      {
        "id": "AllergyIntolerance.verificationStatus.coding.code",
        "path": "AllergyIntolerance.verificationStatus.coding.code",
        "short": "코드값"
      },
      {
        "id": "AllergyIntolerance.category",
        "path": "AllergyIntolerance.category",
        "short": "알레르기 및 불내성 범주: food | medication | environment | biologic"
      },
      {
        "id": "AllergyIntolerance.code",
        "path": "AllergyIntolerance.code",
        "short": "알레르기 및 불내성 코드",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "description": "KR Core AllergyIntolerance Codes",
          "valueSet": "https://example.org/fhir/krcore/ValueSet/krcore-allergyintolerance-codes"
        }
      },
      {
        "id": "AllergyIntolerance.code.coding",
        "path": "AllergyIntolerance.code.coding",
        "short": "정의된 코드"
      },
      {
        "id": "AllergyIntolerance.code.coding.system",
        "path": "AllergyIntolerance.code.coding.system",
        "short": "코드 체계",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code.coding.code",
        "path": "AllergyIntolerance.code.coding.code",
        "short": "코드값",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code.coding.display",
        "path": "AllergyIntolerance.code.coding.display",
        "short": "코드명칭"
      },
      {
        "id": "AllergyIntolerance.code.text",
        "path": "AllergyIntolerance.code.text",
        "short": "알레르기 및 불내성 텍스트 (코드가 없는 경우)",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.patient",
        "path": "AllergyIntolerance.patient",
        "short": "알레르기 및 불내성 대상",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://example.org/fhir/krcore/StructureDefinition/krcore-patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.onset[x]",
        "path": "AllergyIntolerance.onset[x]",
        "short": "알레르기 및 불내성 확인 시기"
      },
      {
        "id": "AllergyIntolerance.reaction",
        "path": "AllergyIntolerance.reaction",
        "short": "알레르기 및 불내성 반응"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation",
        "path": "AllergyIntolerance.reaction.manifestation",
        "short": "알레르기 및 불내성 반응 증상"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding",
        "path": "AllergyIntolerance.reaction.manifestation.coding",
        "short": "정의된 코드"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.system",
        "path": "AllergyIntolerance.reaction.manifestation.coding.system",
        "short": "코드체계 식별자"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.code",
        "path": "AllergyIntolerance.reaction.manifestation.coding.code",
        "short": "코드값"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.coding.display",
        "path": "AllergyIntolerance.reaction.manifestation.coding.display",
        "short": "코드명칭"
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation.text",
        "path": "AllergyIntolerance.reaction.manifestation.text",
        "short": "알레르기 및 불내성 반응 증상 텍스트"
      },
      {
        "id": "AllergyIntolerance.reaction.severity",
        "path": "AllergyIntolerance.reaction.severity",
        "short": "알레르기 및 불내성 반응 심각도: mild | moderate | severe"
      }
    ]
  }
}