<?xml-model href="http://hl7.org/fhir/STU3/structuredefinition.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<StructureDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir http://hl7.org/fhir/STU3/structuredefinition.xsd" xmlns="http://hl7.org/fhir">
  <id value="0f01e7ed-99b5-4781-8e06-0b92fef40c71" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2017-12-28T14:48:48.837+01:00" />
  </meta>
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance" />
  <version value="1.0" />
  <name value="ZIB-AllergyIntolerance" />
  <title value="HCIM AllergyIntolerance" />
  <status value="draft" />
  <date value="2016-12-09T08:27:09.849+00:00" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="email" />
      <value value="info@nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="An AllergyIntolerance resource as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 1.0" />
  <copyright value="CC0" />
  <fhirVersion value="3.0.0" />
  <mapping>
    <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
    <uri value="https://zibs.nl/wiki/AllergyIntolerance-v1.0.2(2015EN)" />
    <name value="HCIM AllergyIntolerance-v1.0.2(2015EN)" />
  </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="AllergyIntolerance" />
      <alias value="AllergieIntolerantie" />
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.1" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.identifier">
      <path value="AllergyIntolerance.identifier" />
      <short value="Identifier" />
      <alias value="Identificatie" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus.extension">
      <path value="AllergyIntolerance.clinicalStatus.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="AllergyIntolerance.clinicalStatus.extension:AllergieStatusCodelijst">
      <path value="AllergyIntolerance.clinicalStatus.extension" />
      <sliceName value="AllergieStatusCodelijst" />
      <short value="AllergyStatus" />
      <definition value="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 value="AllergieStatus" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/code-specification" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="AllergieStatusCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.3--20150401000000" />
          <display value="AllergieStatusCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.5" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.category.extension">
      <path value="AllergyIntolerance.category.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="AllergyIntolerance.category.extension:AllergieCategorieCodelijst">
      <path value="AllergyIntolerance.category.extension" />
      <sliceName value="AllergieCategorieCodelijst" />
      <short value="AllergyCategory" />
      <definition value="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 value="AllergieCategorie" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/code-specification" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="AllergieCategorieCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.2--20150401000000" />
          <display value="AllergieCategorieCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.4" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.criticality.extension">
      <path value="AllergyIntolerance.criticality.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="AllergyIntolerance.criticality.extension:CriticalExtentCodelist">
      <path value="AllergyIntolerance.criticality.extension" />
      <sliceName value="CriticalExtentCodelist" />
      <short value="CriticalExtent" />
      <definition value="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 value="MateVanKritiekZijn" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/code-specification" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="CriticalExtentCodelist" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.4--20150401000000" />
          <display value="MateVanKritiekZijnCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.7" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.code">
      <path value="AllergyIntolerance.code" />
      <short value="CausativeSubstance" />
      <alias value="VeroorzakendeStof" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.3.11.1--20150401000000" />
          <display value="VeroorzakendeStofCodeLijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.2" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.patient">
      <path value="AllergyIntolerance.patient" />
      <short value="Patient" />
      <alias value="Patiënt" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient" />
      </type>
    </element>
    <element id="AllergyIntolerance.onset[x]">
      <path value="AllergyIntolerance.onset[x]" />
      <short value="StartDateTime" />
      <alias value="BeginDatumTijd" />
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.6" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.recorder">
      <path value="AllergyIntolerance.recorder" />
      <short value="Recorder" />
      <alias value="Auteur" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient" />
      </type>
    </element>
    <element id="AllergyIntolerance.asserter">
      <path value="AllergyIntolerance.asserter" />
      <short value="Informant" />
      <alias value="Informant" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner" />
      </type>
    </element>
    <element id="AllergyIntolerance.lastOccurrence">
      <path value="AllergyIntolerance.lastOccurrence" />
      <short value="LastReactionDateTime" />
      <alias value="LaatsteReactieDatumTijd" />
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.8" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.note.author">
      <path value="AllergyIntolerance.note.author[x]" />
      <short value="Author" />
      <alias value="Auteur" />
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson" />
      </type>
    </element>
    <element id="AllergyIntolerance.note.text">
      <path value="AllergyIntolerance.note.text" />
      <short value="Explanation" />
      <alias value="Toelichting" />
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.9" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction">
      <path value="AllergyIntolerance.reaction" />
      <short value="Reaction" />
      <alias value="Reactie" />
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.10" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.extension">
      <path value="AllergyIntolerance.reaction.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="AllergyIntolerance.reaction.extension.Duration">
      <path value="AllergyIntolerance.reaction.extension" />
      <sliceName value="Duration" />
      <short value="Duration" />
      <alias value="ReactieDuur" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" />
      </type>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.16" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.extension.Certainty">
      <path value="AllergyIntolerance.reaction.extension" />
      <sliceName value="Certainty" />
      <short value="Certainty that the substance was the cause of the manifestation" />
      <definition value="Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event." />
      <comment value="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 value="Waarschijnlijkheid" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance-Reaction-Certainty" />
      </type>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.18" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.extension:Certainty.value[x]">
      <path value="AllergyIntolerance.reaction.extension.valueCodeableConcept" />
      <sliceName value="valueCodeableConcept" />
      <binding>
        <strength value="extensible" />
        <description value="Indication of the probability that the substance described in the ‘SpecificSubstance' concept caused the reaction." />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.8--20150401000000" />
          <display value="WaarschijnlijkheidCodelijst" />
        </valueSetReference>
      </binding>
    </element>
    <element id="AllergyIntolerance.reaction.substance">
      <path value="AllergyIntolerance.reaction.substance" />
      <short value="SpecificSubstance" />
      <alias value="SpecifiekeStof" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.3.11.2--20150401000000" />
          <display value="SpecifiekeStofCodeLijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.12" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.manifestation">
      <path value="AllergyIntolerance.reaction.manifestation" />
      <short value="Symptom" />
      <alias value="Symptoom" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.5--20150401000000" />
          <display value="SymptoomCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.11" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.description">
      <path value="AllergyIntolerance.reaction.description" />
      <short value="ReactionDescription" />
      <alias value="ReactieBeschrijving" />
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.13" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.onset">
      <path value="AllergyIntolerance.reaction.onset" />
      <short value="ReactionTime" />
      <alias value="ReactieTijdstip" />
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.17" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.severity">
      <path value="AllergyIntolerance.reaction.severity" />
      <short value="Severity" />
      <alias value="Ernst" />
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.14" />
      </mapping>
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute">
      <path value="AllergyIntolerance.reaction.exposureRoute" />
      <short value="MannerOfExposure" />
      <alias value="WijzeVanBlootstelling" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.8.2.12--20150401000000" />
          <display value="WijzeVanBlootstellingCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-allergyintolerance-v1.0.2-2015EN" />
        <map value="NL-CM:8.2.15" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>