<entry>

<observation classCode="OBS" moodCode="EVN">
  <!-- Adverse Event -->
  <templateId root="2.16.840.1.113883.10.20.24.3.146" extension="2019-12-01"/>
  <id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
  <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
  <statusCode code="completed"/>
  {{#relevantDatetime}}
    <!-- QDM Attribute: Relevant dateTime -->
    {{{relevant_date_time_value}}}
  {{/relevantDatetime}}
  <value xsi:type="CD" code="281647001" displayName="Adverse reaction" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
  {{#authorDatetime}}
    <!-- QDM Attribute: Author dateTime -->
    {{> qrda_templates/template_partials/_author}}
  {{/authorDatetime}}
  {{#facilityLocation}}
    <!-- QDM Attribute: Facility Location -->
    {{> qrda_templates/template_partials/_facility_location}}
  {{/facilityLocation}}
  {{#recorder}}
    <!-- QDM Attribute: Recorder -->
    <participant typeCode="PRF">
      {{> qrda_templates/template_partials/_entity}}
    </participant>
  {{/recorder}}
  <!-- QDM Attribute: Code -->
  <entryRelationship typeCode="CAUS" inversionInd="true">
    <!-- Adverse Event Cause Assertion Observation -->
    <observation classCode="OBS" moodCode="EVN">
      <templateId root="2.16.840.1.113883.10.20.24.3.148" extension="2017-08-01" />
      <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4" />
      <statusCode code="completed" />
      {{> qrda_templates/template_partials/_data_element_codes_as_values}}
    </observation>
  </entryRelationship>
  {{#type}}
    <!-- QDM Attribute: Type -->
    {{> qrda_templates/template_partials/_reaction_observation}}
  {{/type}}
  {{#severity}}
    <!-- QDM Attribute: Severity -->
    {{> qrda_templates/template_partials/_severity}}
  {{/severity}}
</observation>

</entry>