<entry>

<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
    <templateId root="2.16.840.1.113883.10.20.24.3.156" extension="2019-12-01"/>
    <id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
    {{#category}}
      <!-- QDM Attribute: Category -->
      <code {{> _code}}/>
    {{/category}}
    {{^category}}
      <!-- QDM Attribute: Category -->
      <code nullFlavor="UNK"/>
    {{/category}}
    <statusCode code="completed"/>
    <effectiveTime>
      <!-- QDM Attribute: Sent dateTime -->
      {{{sent_date_time}}}
      <!-- QDM Attribute: Received dateTime -->
      {{{received_date_time}}}
    </effectiveTime>
    {{#authorDatetime}}
      <!-- QDM Attribute: Author dateTime -->
      {{> qrda_templates/template_partials/_author}}
    {{/authorDatetime}}
    {{#recipient}}
    <participant typeCode="IRCP">
      <!-- QDM Attribute: Recipient -->
      {{> qrda_templates/template_partials/_entity}}
    </participant>
    {{/recipient}}
    {{#sender}}
    <participant typeCode="AUT">
      <!-- QDM Attribute: Sender -->
      {{> qrda_templates/template_partials/_entity}}
    </participant>
    {{/sender}}
    {{#medium}}
    <participant typeCode="VIA">
        <participantRole>
            <!-- QDM Attribute: Medium -->
            <code {{> _code}}/>
        </participantRole>
    </participant>
    {{/medium}}
    {{#negationRationale}}
      <!-- QDM Attribute: Negation Rationale -->
      {{> qrda_templates/template_partials/_reason}}
    {{/negationRationale}}
    <entryRelationship typeCode="REFR">
      <observation classCode="OBS" moodCode="EVN">
        <templateId root="2.16.840.1.113883.10.20.24.3.88" extension="2017-08-01"/>
        <code code="77301-0" codeSystem="2.16.840.1.113883.6.1" displayName="reason" codeSystemName="LOINC"/>
        <statusCode code="completed"/>
        <!-- QDM Attribute: Code -->
        {{> qrda_templates/template_partials/_data_element_codes_as_values}}
      </observation>
    </entryRelationship>
    {{#relatedTo}}
      <!-- QDM Attribute: relatedTo -->
      {{> qrda_templates/template_partials/_related_to}}
    {{/relatedTo}}
</act>

</entry>