<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-adverse-AdverseEvent" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR AdverseEvent Profile</b>
      </p>
      <p>Any unfavorable and unintended sign, symptom, disease, or other medical occurrence with a temporal association with the use of a medical product, procedure or other therapy, or in conjunction with a research study, regardless of causal relationship. EXAMPLE(S): back pain, headache, pulmonary embolism, death. The AdverseEvent may also document a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.adverse.AdverseEvent maps to AdverseEvent:
  CodeableConcept maps to type 
  Details maps to description
  Subject maps to subject
  OccurrenceTime maps to date
  SeriousAdverseEvent maps to seriousness
  Outcome maps to outcome
  Author maps to recorder 
  AdverseEventAttribution maps to suspectEntity.instance
  AdverseEventAttribution.Certainty maps to suspectEntity.causalityAssessment	
  AssociatedStudy maps to study
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseEvent" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.adverse.AdverseEvent" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR AdverseEvent 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="Any unfavorable and unintended sign, symptom, disease, or other medical occurrence with a temporal association with the use of a medical product, procedure or other therapy, or in conjunction with a research study, regardless of causal relationship. EXAMPLE(S): back pain, headache, pulmonary embolism, death. The AdverseEvent may also document a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out." />
  <fhirVersion value="3.0.1" />
  <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:shr-adverse-AdverseEvent">
      <path value="AdverseEvent" />
      <short value="SHR AdverseEvent Profile" />
      <definition value="Any unfavorable and unintended sign, symptom, disease, or other medical occurrence with a temporal association with the use of a medical product, procedure or other therapy, or in conjunction with a research study, regardless of causal relationship. EXAMPLE(S): back pain, headache, pulmonary embolism, death. The AdverseEvent may also document a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out." />
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.extension:relatedencounter">
      <path value="AdverseEvent.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="AdverseEvent:shr-adverse-AdverseEvent.extension:informant">
      <path value="AdverseEvent.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="AdverseEvent:shr-adverse-AdverseEvent.extension:focalsubject">
      <path value="AdverseEvent.extension" />
      <sliceName value="focalsubject" />
      <definition value="For use when FHIR's subject does not allow the desired type of Subject in the Finding.Subject field." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-FocalSubject-extension" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.extension:focalsubjectreference">
      <path value="AdverseEvent.extension" />
      <sliceName value="focalsubjectreference" />
      <definition value="For use when FHIR's subject does not allow the desired type of Subject in the Finding.Subject field." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-FocalSubjectReference-extension" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.extension:findingmethod">
      <path value="AdverseEvent.extension" />
      <sliceName value="findingmethod" />
      <definition value="The technique used to create the finding, for example, the specific imaging technical, lab test code, or assessment vehicle." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-FindingMethod-extension" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.extension:findingstatus">
      <path value="AdverseEvent.extension" />
      <sliceName value="findingstatus" />
      <definition value="Indicates whether the finding is preliminary, amended, final, etc.." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-FindingStatus-extension" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.extension:evidence">
      <path value="AdverseEvent.extension" />
      <sliceName value="evidence" />
      <definition value="A symptom, observation, or other item, for example, a radiology report, that serves as evidence for the current assessment." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-Evidence-extension" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.extension:adverseeventgrade">
      <path value="AdverseEvent.extension" />
      <sliceName value="adverseeventgrade" />
      <definition value="A coded value specifying the level of injury suffered by the subject for whom the event is reported, using the CTCAE coding system." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseEventGrade-extension" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.extension:causecategory">
      <path value="AdverseEvent.extension" />
      <sliceName value="causecategory" />
      <definition value="Whether the adverse event is attributed to a treatment, course of the disease, unrelated to either, or unknown." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-CauseCategory-extension" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.extension:actiontaken">
      <path value="AdverseEvent.extension" />
      <sliceName value="actiontaken" />
      <definition value="The action taken as a result of the adverse reaction. May include changing or discontinuing medication, reducing dose, etc." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-ActionTaken-extension" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.type">
      <path value="AdverseEvent.type" />
      <min value="1" />
      <max value="1" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://standardhealthrecord.org/shr/adverse/vs/MedDRAVS" />
        </valueSetReference>
      </binding>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.subject">
      <path value="AdverseEvent.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.seriousness">
      <path value="AdverseEvent.seriousness" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://standardhealthrecord.org/shr/core/vs/YesNoUnknownVS" />
        </valueSetReference>
      </binding>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.recorder">
      <path value="AdverseEvent.recorder" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelatedPerson" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.suspectEntity">
      <path value="AdverseEvent.suspectEntity" />
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.suspectEntity.instance">
      <path value="AdverseEvent.suspectEntity.instance" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Substance" />
      </type>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.suspectEntity.causalityAssessment">
      <path value="AdverseEvent.suspectEntity.causalityAssessment" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://standardhealthrecord.org/shr/core/vs/QualitativeValueScaleVS" />
        </valueSetReference>
      </binding>
    </element>
    <element id="AdverseEvent:shr-adverse-AdverseEvent.study">
      <path value="AdverseEvent.study" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-research-Study" />
      </type>
    </element>
  </differential>
</StructureDefinition>