{
  "resourceType": "StructureDefinition",
  "id": "0f01e7ed-99b5-4781-8e06-0b92fef40c71",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2017-12-28T13:48:48.837+00:00"
  },
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance",
  "version": "1.0",
  "name": "ZIB-AllergyIntolerance",
  "title": "HCIM AllergyIntolerance",
  "status": "draft",
  "date": "2016-12-09T08:27:09.849+00:00",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "info@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "An AllergyIntolerance resource as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 1.0",
  "copyright": "CC0",
  "fhirVersion": "3.0.0",
  "mapping": [
    {
      "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
      "uri": "https://zibs.nl/wiki/AllergyIntolerance-v1.0.2(2015EN)",
      "name": "HCIM AllergyIntolerance-v1.0.2(2015EN)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance",
        "path": "AllergyIntolerance",
        "short": "AllergyIntolerance",
        "alias": [
          "AllergieIntolerantie"
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.1"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.identifier",
        "path": "AllergyIntolerance.identifier",
        "short": "Identifier",
        "alias": [
          "Identificatie"
        ]
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.extension",
        "path": "AllergyIntolerance.clinicalStatus.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.clinicalStatus.extension:AllergieStatusCodelijst",
        "path": "AllergyIntolerance.clinicalStatus.extension",
        "sliceName": "AllergieStatusCodelijst",
        "short": "AllergyStatus",
        "definition": "Defines a more specific value to a code. Especially useful for FHIR's required ValueSets. These extensions are primarily used on codes bound to a required value set, where you would like to use a more specific code than the codes in the bounded value set.",
        "alias": [
          "AllergieStatus"
        ],
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/code-specification"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "AllergieStatusCodelijst",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.3--20150401000000",
            "display": "AllergieStatusCodelijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.5"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.category.extension",
        "path": "AllergyIntolerance.category.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.category.extension:AllergieCategorieCodelijst",
        "path": "AllergyIntolerance.category.extension",
        "sliceName": "AllergieCategorieCodelijst",
        "short": "AllergyCategory",
        "definition": "Defines a more specific value to a code. Especially useful for FHIR's required ValueSets. These extensions are primarily used on codes bound to a required value set, where you would like to use a more specific code than the codes in the bounded value set.",
        "alias": [
          "AllergieCategorie"
        ],
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/code-specification"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "AllergieCategorieCodelijst",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.2--20150401000000",
            "display": "AllergieCategorieCodelijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.4"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.criticality.extension",
        "path": "AllergyIntolerance.criticality.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.criticality.extension:CriticalExtentCodelist",
        "path": "AllergyIntolerance.criticality.extension",
        "sliceName": "CriticalExtentCodelist",
        "short": "CriticalExtent",
        "definition": "Defines a more specific value to a code. Especially useful for FHIR's required ValueSets. These extensions are primarily used on codes bound to a required value set, where you would like to use a more specific code than the codes in the bounded value set.",
        "alias": [
          "MateVanKritiekZijn"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/code-specification"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "CriticalExtentCodelist",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.4--20150401000000",
            "display": "MateVanKritiekZijnCodelijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.7"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.code",
        "path": "AllergyIntolerance.code",
        "short": "CausativeSubstance",
        "alias": [
          "VeroorzakendeStof"
        ],
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.3.11.1--20150401000000",
            "display": "VeroorzakendeStofCodeLijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.2"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.patient",
        "path": "AllergyIntolerance.patient",
        "short": "Patient",
        "alias": [
          "Patiënt"
        ],
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.onset[x]",
        "path": "AllergyIntolerance.onset[x]",
        "short": "StartDateTime",
        "alias": [
          "BeginDatumTijd"
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.6"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.recorder",
        "path": "AllergyIntolerance.recorder",
        "short": "Recorder",
        "alias": [
          "Auteur"
        ],
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.asserter",
        "path": "AllergyIntolerance.asserter",
        "short": "Informant",
        "alias": [
          "Informant"
        ],
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.lastOccurrence",
        "path": "AllergyIntolerance.lastOccurrence",
        "short": "LastReactionDateTime",
        "alias": [
          "LaatsteReactieDatumTijd"
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.8"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.note.author",
        "path": "AllergyIntolerance.note.author[x]",
        "short": "Author",
        "alias": [
          "Auteur"
        ],
        "type": [
          {
            "code": "string"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.note.text",
        "path": "AllergyIntolerance.note.text",
        "short": "Explanation",
        "alias": [
          "Toelichting"
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.9"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction",
        "path": "AllergyIntolerance.reaction",
        "short": "Reaction",
        "alias": [
          "Reactie"
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.10"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.extension",
        "path": "AllergyIntolerance.reaction.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.extension.Duration",
        "path": "AllergyIntolerance.reaction.extension",
        "sliceName": "Duration",
        "short": "Duration",
        "alias": [
          "ReactieDuur"
        ],
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.16"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.extension.Certainty",
        "path": "AllergyIntolerance.reaction.extension",
        "sliceName": "Certainty",
        "short": "Certainty that the substance was the cause of the manifestation",
        "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.",
        "comment": "When certainty is missing, it means no information exists (although it could be in narrative).  By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.",
        "alias": [
          "Waarschijnlijkheid"
        ],
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance-Reaction-Certainty"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.18"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.extension:Certainty.value[x]",
        "path": "AllergyIntolerance.reaction.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "binding": {
          "strength": "extensible",
          "description": "Indication of the probability that the substance described in the ‘SpecificSubstance' concept caused the reaction.",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.8--20150401000000",
            "display": "WaarschijnlijkheidCodelijst"
          }
        }
      },
      {
        "id": "AllergyIntolerance.reaction.substance",
        "path": "AllergyIntolerance.reaction.substance",
        "short": "SpecificSubstance",
        "alias": [
          "SpecifiekeStof"
        ],
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.3.11.2--20150401000000",
            "display": "SpecifiekeStofCodeLijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.12"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.manifestation",
        "path": "AllergyIntolerance.reaction.manifestation",
        "short": "Symptom",
        "alias": [
          "Symptoom"
        ],
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.5--20150401000000",
            "display": "SymptoomCodelijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.11"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.description",
        "path": "AllergyIntolerance.reaction.description",
        "short": "ReactionDescription",
        "alias": [
          "ReactieBeschrijving"
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.13"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.onset",
        "path": "AllergyIntolerance.reaction.onset",
        "short": "ReactionTime",
        "alias": [
          "ReactieTijdstip"
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.17"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.severity",
        "path": "AllergyIntolerance.reaction.severity",
        "short": "Severity",
        "alias": [
          "Ernst"
        ],
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.14"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.exposureRoute",
        "path": "AllergyIntolerance.reaction.exposureRoute",
        "short": "MannerOfExposure",
        "alias": [
          "WijzeVanBlootstelling"
        ],
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.12--20150401000000",
            "display": "WijzeVanBlootstellingCodelijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-allergyintolerance-v1.0.2-2015EN",
            "map": "NL-CM:8.2.15"
          }
        ]
      }
    ]
  }
}