{
  "resourceType": "StructureDefinition",
  "id": "AllergyIntolerance-negation-id-core",
  "url": "http://fhir.hie.moh.gov.id/StructureDefinition/AllergyIntolerance-negation-id-core",
  "version": "1.0.0",
  "name": "AllergyIntoleranceNegationIdCore",
  "title": "AllergyIntoleranceNegation (ID Core)",
  "status": "active",
  "date": "2023-06-07T07:16:10.3933867+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance.verificationStatus",
        "path": "AllergyIntolerance.verificationStatus",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.type",
        "path": "AllergyIntolerance.type",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.category",
        "path": "AllergyIntolerance.category",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.criticality",
        "path": "AllergyIntolerance.criticality",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.code",
        "path": "AllergyIntolerance.code",
        "short": "No Known Allergy | Require Allergy Assessment",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AllergyIntoleranceCode"
            }
          ],
          "strength": "required",
          "description": "Negation Statement",
          "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/allergy-negation-id-core"
        }
      },
      {
        "id": "AllergyIntolerance.reaction",
        "path": "AllergyIntolerance.reaction",
        "max": "0"
      },
      {
        "id": "AllergyIntolerance.reaction.substance",
        "path": "AllergyIntolerance.reaction.substance",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SubstanceCode"
            }
          ],
          "strength": "example",
          "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/drug-id-core"
        }
      }
    ]
  }
}