{
  "resourceType": "StructureDefinition",
  "id": "vn-core-allergy-intolerance",
  "url": "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-allergy-intolerance",
  "version": "1.0.0",
  "name": "VNCoreAllergyIntolerance",
  "title": "Allergy Intolerance profile - VN Core R4",
  "status": "draft",
  "description": "Thông tin mô tả về dị ứng bệnh nhân gặp phải",
  "copyright": "Bộ Y tế - Việt Nam",
  "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/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance.clinicalStatus",
        "path": "AllergyIntolerance.clinicalStatus",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "AllergyIntolerance.verificationStatus",
        "path": "AllergyIntolerance.verificationStatus",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "AllergyIntolerance.category",
        "path": "AllergyIntolerance.category",
        "mustSupport": true
      },
      {
        "id": "AllergyIntolerance.code",
        "path": "AllergyIntolerance.code",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "AllergyIntolerance.patient",
        "path": "AllergyIntolerance.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-patient"
            ]
          }
        ]
      },
      {
        "id": "AllergyIntolerance.encounter",
        "path": "AllergyIntolerance.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-encounter"
            ]
          }
        ]
      },
      {
        "id": "AllergyIntolerance.asserter",
        "path": "AllergyIntolerance.asserter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-practitioner"
            ]
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation:allergyIntoleranceReactionManifestationGPSCode",
        "path": "AllergyIntolerance.reaction.manifestation",
        "sliceName": "allergyIntoleranceReactionManifestationGPSCode",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      }
    ]
  }
}