{
  "resourceType": "StructureDefinition",
  "id": "extension-AllergyIntolerance.type",
  "url": "http://nictiz.nl/fhir/5.0/StructureDefinition/extension-AllergyIntolerance.type",
  "version": "1.0.0-beta.5",
  "name": "ExtensionAllergyIntoleranceType",
  "title": "extension AllergyIntolerance.type",
  "status": "draft",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "An extension to provide the type of an AllergyIntolerance resource, without the need of using the _required_ binding present on `AllergyIntolerance.type`. Note that in R5 this binding has been made _preferred_, making this extension technically a pre-adopt. This extension should be replaced by the extension 'http://hl7.org/fhir/5.0/StructureDefinition/extension-AllergyIntolerance.type' whenever it's made available as part of the package hl7.fhir.extensions.r4:4.0.1 mentioned on http://hl7.org/fhir/R5/versions.html#extensions.",
  "purpose": "This extension represents the type of an AllergyIntolerance resource, needed to distinguish between HypersensitivityIntolerance and Reaction building blocks for implementations following the information standard [CiO](https://informatiestandaarden.nictiz.nl/wiki/Landingspagina_Contra-indicaties_en_Overgevoeligheden).",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "AllergyIntolerance"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "max": "1"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://nictiz.nl/fhir/5.0/StructureDefinition/extension-AllergyIntolerance.type"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "definition": "Type of the AllergyIntolerance.",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type"
        }
      }
    ]
  }
}