<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="qicore-adverseevent" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;">
        <tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;">
          <th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/formats.html#table" title="The logical name of the element">Name</a>
          </th>
          <th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/formats.html#table" title="Information about the use of the element">Flags</a>
          </th>
          <th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a>
          </th>
          <th style="width: 100px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/formats.html#table" title="Reference to the type of the element">Type</a>
          </th>
          <th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/formats.html#table" title="Additional information about the element">Description &amp; Constraints</a>
            <span style="float: right">
              <a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format">
                <img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit" />
              </a>
            </span>
          </th>
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent" title="Actual or potential/avoided event causing unintended physical injury resulting from or contributed to by medical care, a research study or other healthcare setting factors that requires additional monitoring, treatment, or hospitalization, or that results in death.">AdverseEvent</a>
            <a name="AdverseEvent"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">*</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.id" title="Logical id of this artifact.">id</a>
            <a name="AdverseEvent.id"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#id">id</a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.category" title="The type of event which is important to characterize what occurred and caused harm to the subject, or had the potential to cause harm to the subject.">category</a>
            <a name="AdverseEvent.category"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">AE | PAE<br /><span style="font-weight:bold">Binding: </span><a href="http://hl7.org/fhir/STU3/valueset-adverse-event-category.html">AdverseEventCategory</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td>
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.type">type</a>
            <a name="AdverseEvent.type"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">actual | potential</span>
            <br />
            <span style="font-weight:bold">Binding: </span>
            <a href="http://hl7.org/fhir/STU3/valueset-adverse-event-type.html">SNOMED CT Clinical Findings</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value set.  The value set merely provides examples of the types of concepts intended to be included.">example</a>)</td>
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.subject" title="This subject or group impacted by the event. With a prospective adverse event, there will be no subject as the adverse event was prevented.">subject</a>
            <a name="AdverseEvent.subject"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-qicore-patient.html">QICore-Patient</a> | <a href="http://hl7.org/fhir/STU3/researchsubject.html">ResearchSubject</a> | <a href="StructureDefinition-qicore-medication.html">QICore-Medication</a> | <a href="StructureDefinition-qicore-device.html">QICore-Device</a>)</td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.date" title="The date (and perhaps time) when the adverse event occurred.">date</a>
            <a name="AdverseEvent.date"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#dateTime">dateTime</a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.reaction" title="Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).">reaction</a>
            <a name="AdverseEvent.reaction"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">*</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-qicore-condition.html">QICore-Condition</a>)</td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.location" title="The information about where the adverse event occurred.">location</a>
            <a name="AdverseEvent.location"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-qicore-location.html">QICore-Location</a>)</td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.seriousness" title="Describes the seriousness or severity of the adverse event.">seriousness</a>
            <a name="AdverseEvent.seriousness"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">Mild | Moderate | Severe</span>
            <br />
            <span style="font-weight:bold">Binding: </span>
            <a href="http://hl7.org/fhir/STU3/valueset-adverse-event-seriousness.html">AdverseEventSeriousness</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value set.  The value set merely provides examples of the types of concepts intended to be included.">example</a>)</td>
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.recorder" title="Information on who recorded the adverse event. May be the patient or a practitioner.">recorder</a>
            <a name="AdverseEvent.recorder"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-qicore-patient.html">QICore-Patient</a> | <a href="StructureDefinition-qicore-relatedperson.html">QICore-RelatedPerson</a> | <a href="StructureDefinition-qicore-practitioner.html">QICore-Practitioner</a>)</td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.suspectEntity" title="Describes the entity that is suspected to have caused the adverse event.">suspectEntity</a>
            <a name="AdverseEvent.suspectEntity"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">*</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#BackboneElement">BackboneElement</a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.suspectEntity.instance" title="Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device.">instance</a>
            <a name="AdverseEvent.suspectEntity.instance"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">1</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-qicore-substance.html">QICore-Substance</a> | <a href="StructureDefinition-qicore-medication.html">QICore-Medication</a> | <a href="StructureDefinition-qicore-medicationadministration.html">QICore-MedicationAdministration</a> | <a href="StructureDefinition-qicore-medicationstatement.html">QICore-MedicationStatement</a> | <a href="StructureDefinition-qicore-device.html">QICore-Device</a>)</td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.suspectEntity.causality" title="causality1 | causality2.">causality</a>
            <a name="AdverseEvent.suspectEntity.causality"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">causality1 | causality2</span>
            <br />
            <span style="font-weight:bold">Binding: </span>
            <a href="http://hl7.org/fhir/STU3/valueset-adverse-event-causality.html">AdverseEventCausality</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td>
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.suspectEntity.causalityAssessment" title="assess1 | assess2.">causalityAssessment</a>
            <a name="AdverseEvent.suspectEntity.causalityAssessment"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">1</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">assess1 | assess2</span>
            <br />
            <span style="font-weight:bold">Binding: </span>
            <a href="http://hl7.org/fhir/STU3/valueset-adverse-event-causality-assess.html">AdverseEventCausalityAssessment</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value set.  The value set merely provides examples of the types of concepts intended to be included.">example</a>)</td>
        </tr>
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;">
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy">
            <img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy" />
            <img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy" />
            <a href="StructureDefinition-qicore-adverseevent-definitions.html#AdverseEvent.study" title="TODO.">study</a>
            <a name="AdverseEvent.study"></a>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <span style="opacity: 0.4">0</span>
            <span style="opacity: 0.5">..</span>
            <span style="opacity: 0.4">*</span>
          </td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">
            <a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/researchstudy.html">ResearchStudy</a>)</td>
          <td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy" />
        </tr>
        <tr>
          <td colspan="5" class="hierarchy">
            <br />
            <a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format">
              <img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit" /> Documentation for this format</a>
          </td>
        </tr>
      </table>
    </div>
  </text>
  <url value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent" />
  <version value="3.1.0" />
  <name value="QICore-AdverseEvent" />
  <status value="draft" />
  <date value="2018-08-22T00:00:00+10:00" />
  <publisher value="Health Level Seven, Inc. - CQI WG" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/special/committees/CQI" />
    </telecom>
  </contact>
  <description value="An adverse event is an untoward occurrence during treatment that should be reported, for example, to a clinical study sponsor or safety oversight organization.  AEs include reportable serious medical errors such as those defined by National Quality Forum (see http://www.qualityforum.org/Topics/ SREs/List_of_SREs.aspx), and Patient Safety Healthcare Events as defined by AHRQ.  Some AEs can involve conditions such as &quot;recurring headaches&quot; but others do not, such as accidental falls, surgical errors, sexual abuse of patient, and sudden death. An adverse event can also be an unsafe condition that increases the probability of a patient safety event, and near-misses. An adverse event can be caused by exposure to some agent (e.g., a medication, immunization, food, or environmental agent). An adverse reaction can range from a mild reaction, such as a harmless rash to a severe and life-threatening condition. They can occur immediately or develop over time. For example, a patient may develop a rash after taking a particular medication." />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="qdm" />
    <uri value="http://www.healthit.gov/quality-data-model" />
    <name value="Quality Data Model" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="AdverseEvent" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/AdverseEvent" />
  <derivation value="constraint" />
  <differential>
    <element id="AdverseEvent">
      <path value="AdverseEvent" />
      <definition value="Actual or potential/avoided event causing unintended physical injury resulting from or contributed to by medical care, a research study or other healthcare setting factors that requires additional monitoring, treatment, or hospitalization, or that results in death." />
      <mustSupport value="false" />
      <isModifier value="false" />
      <mapping>
        <identity value="qdm" />
        <map value="Adverse Event" />
      </mapping>
    </element>
    <element id="AdverseEvent.id">
      <path value="AdverseEvent.id" />
      <definition value="Logical id of this artifact." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <mapping>
        <identity value="qdm" />
        <map value="id" />
      </mapping>
    </element>
    <element id="AdverseEvent.category">
      <path value="AdverseEvent.category" />
      <short value="AE | PAE" />
      <definition value="The type of event which is important to characterize what occurred and caused harm to the subject, or had the potential to cause harm to the subject." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <description value="Overall categorization of the event, e.g. real or potential" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/adverse-event-category" />
        </valueSetReference>
      </binding>
    </element>
    <element id="AdverseEvent.type">
      <path value="AdverseEvent.type" />
      <short value="actual | potential" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <binding>
        <strength value="example" />
        <description value="The type of adverse event: an incident, near-miss, or unsafe condition" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/adverse-event-type" />
        </valueSetReference>
      </binding>
    </element>
    <element id="AdverseEvent.subject">
      <path value="AdverseEvent.subject" />
      <definition value="This subject or group impacted by the event. With a prospective adverse event, there will be no subject as the adverse event was prevented." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ResearchSubject" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
    </element>
    <element id="AdverseEvent.date">
      <path value="AdverseEvent.date" />
      <definition value="The date (and perhaps time) when the adverse event occurred." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <mapping>
        <identity value="qdm" />
        <map value="relevantPeriod" />
      </mapping>
    </element>
    <element id="AdverseEvent.reaction">
      <path value="AdverseEvent.reaction" />
      <definition value="Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical)." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <mapping>
        <identity value="qdm" />
        <map value="type" />
      </mapping>
    </element>
    <element id="AdverseEvent.location">
      <path value="AdverseEvent.location" />
      <definition value="The information about where the adverse event occurred." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <mapping>
        <identity value="qdm" />
        <map value="facilityLocation" />
      </mapping>
    </element>
    <element id="AdverseEvent.seriousness">
      <path value="AdverseEvent.seriousness" />
      <short value="Mild | Moderate | Severe" />
      <definition value="Describes the seriousness or severity of the adverse event." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <binding>
        <strength value="example" />
        <description value="A subjective assessment of the severity of the adverse event as evaluated by the clinician." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/adverse-event-seriousness" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="qdm" />
        <map value="severity" />
      </mapping>
    </element>
    <element id="AdverseEvent.recorder">
      <path value="AdverseEvent.recorder" />
      <definition value="Information on who recorded the adverse event. May be the patient or a practitioner." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <mapping>
        <identity value="qdm" />
        <map value="recorder" />
      </mapping>
    </element>
    <element id="AdverseEvent.suspectEntity">
      <path value="AdverseEvent.suspectEntity" />
      <definition value="Describes the entity that is suspected to have caused the adverse event." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
    </element>
    <element id="AdverseEvent.suspectEntity.instance">
      <path value="AdverseEvent.suspectEntity.instance" />
      <definition value="Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationstatement" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <mapping>
        <identity value="qdm" />
        <map value="code" />
      </mapping>
    </element>
    <element id="AdverseEvent.suspectEntity.causality">
      <path value="AdverseEvent.suspectEntity.causality" />
      <short value="causality1 | causality2" />
      <definition value="causality1 | causality2." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <description value="The type of adverse event: an incident, near-miss, or unsafe condition" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/adverse-event-causality" />
        </valueSetReference>
      </binding>
    </element>
    <element id="AdverseEvent.suspectEntity.causalityAssessment">
      <path value="AdverseEvent.suspectEntity.causalityAssessment" />
      <short value="assess1 | assess2" />
      <definition value="assess1 | assess2." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <binding>
        <strength value="example" />
        <description value="The degree of confidence that this condition is correct" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/adverse-event-causality-assess" />
        </valueSetReference>
      </binding>
    </element>
    <element id="AdverseEvent.study">
      <path value="AdverseEvent.study" />
      <definition value="TODO." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ResearchStudy" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
    </element>
  </differential>
</StructureDefinition>