<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-immunization-ImmunizationNotGiven" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR ImmunizationNotGiven Profile</b>
      </p>
      <p>An immunization that was not given to the subject.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.immunization.ImmunizationNotGiven maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization:
  Vaccine.Type maps to vaccineCode
  constrain explanation to 0..1
  NotPerformedContext.Reason maps to explanation.reasonNotGiven
  constrain site to 0..0
  constrain route to 0..0
  constrain doseQuantity to 0..0
  &lt;TBD "DoseSequenceNumber"&gt; maps to vaccinationProtocol.doseSequence
  fix status to #completed 
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationNotGiven" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.immunization.ImmunizationNotGiven" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR ImmunizationNotGiven Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="An immunization that was not given to the subject." />
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166" />
      <code value="US" />
      <display value="United States Minor Outlying Islands (the)" />
    </coding>
  </jurisdiction>
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="quick" />
    <uri value="http://unknown.org/QUICK" />
    <name value="QUICK" />
  </mapping>
  <mapping>
    <identity value="argonaut-dq-dstu2" />
    <uri value="http://unknown.org/Argonaut DQ DSTU2" />
    <name value="Argonaut DQ DSTU2" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Mapping" />
  </mapping>
  <mapping>
    <identity value="cda" />
    <uri value="http://hl7.org/v3/cda" />
    <name value="CDA (R2)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Immunization" />
  <baseDefinition value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" />
  <derivation value="constraint" />
  <differential>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven">
      <path value="Immunization" />
      <short value="SHR ImmunizationNotGiven Profile" />
      <definition value="An immunization that was not given to the subject." />
      <mustSupport value="false" />
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:relatedencounter">
      <path value="Immunization.extension" />
      <sliceName value="relatedencounter" />
      <definition value="If content was generated during a patient encounter, related encounter is the encounter where the information was gained." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:author">
      <path value="Immunization.extension" />
      <sliceName value="author" />
      <definition value="The person or organization who created the entry and is responsible for (and may certify) the content." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:informant">
      <path value="Immunization.extension" />
      <sliceName value="informant" />
      <definition value="The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:type">
      <path value="Immunization.extension" />
      <sliceName value="type" />
      <definition value="The most specific code (lowest level term) describing the kind or sort of thing being represented." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:category">
      <path value="Immunization.extension" />
      <sliceName value="category" />
      <definition value="A class or division of people or things having particular shared characteristics" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:notperformedcontext">
      <path value="Immunization.extension" />
      <sliceName value="notperformedcontext" />
      <definition value="A record that a clinical act was not performed at a certain time or during a stated period of time, particularly when there might be an expectation of performing such an act, for example, if a vaccination is not given because of parental objection. Do not use this context if the act was initiated or started but aborted or cancelled." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-NotPerformedContext-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:notperformedcontext.extension:reason">
      <path value="Immunization.extension.extension" />
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:notperformedcontext.extension:reason.extension:codeableconcept">
      <path value="Immunization.extension.extension.extension" />
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:notperformedcontext.extension:reason.extension:codeableconcept.valueCodeableConcept">
      <path value="Immunization.extension.extension.extension.valueCodeableConcept" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/no-immunization-reason" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:bodysite">
      <path value="Immunization.extension" />
      <sliceName value="bodysite" />
      <definition value="A location or structure in the body, including tissues, regions, cavities, and spaces, for example, right elbow, or left ventricle of the heart." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-BodySite-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:routeintobody">
      <path value="Immunization.extension" />
      <sliceName value="routeintobody" />
      <definition value="The way a substance enters an organism after contact, particularly, the route of drug administration." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:doseamount">
      <path value="Immunization.extension" />
      <sliceName value="doseamount" />
      <definition value="The amount of medication taken per dose, as a quantity or range." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-DoseAmount-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.extension:outcome">
      <path value="Immunization.extension" />
      <sliceName value="outcome" />
      <definition value="The result of performing an action or behavior, for example, an adverse reaction or new finding." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-Outcome-extension" />
      </type>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.status">
      <path value="Immunization.status" />
      <fixedCode value="completed" />
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.vaccineCode">
      <path value="Immunization.vaccineCode" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccine-code" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.site">
      <path value="Immunization.site" />
      <min value="0" />
      <max value="0" />
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.route">
      <path value="Immunization.route" />
      <min value="0" />
      <max value="0" />
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.doseQuantity">
      <path value="Immunization.doseQuantity" />
      <min value="0" />
      <max value="0" />
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.explanation">
      <path value="Immunization.explanation" />
    </element>
    <element id="Immunization:shr-immunization-ImmunizationNotGiven.explanation.reasonNotGiven">
      <path value="Immunization.explanation.reasonNotGiven" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NoImmunizationReason" />
        </extension>
        <strength value="required" />
        <description value="The reason why a vaccine was not administered" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/no-immunization-reason" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
</StructureDefinition>