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