MediRecords FHIR Implementation Guide
1.4.1 - release


: MR Admissions Planned Encounter Cancelled Example - XML Representation

Raw xml | Download



<Encounter xmlns="http://hl7.org/fhir">
  <id value="3ebc8348-d1fa-4496-8819-9674282c9934"/>
  <meta>
    <lastUpdated value="2021-10-25T01:43:30Z"/>
    <profile
             value="https://fhir.medirecords.com/StructureDefinition/mr-encounter-admission"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Encounter</b><a name="3ebc8348-d1fa-4496-8819-9674282c9934"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Encounter &quot;3ebc8348-d1fa-4496-8819-9674282c9934&quot; Updated &quot;2021-10-25 01:43:30+0000&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-mr-encounter-admission.html">MR Encounter Admission</a></p></div><p><b>Encounter plannedStartDate</b>: 2023-10-20 01:00:00+0000</p><p><b>Encounter plannedEndDate</b>: 2023-12-22</p><p><b>MR Comment Note Extension</b>: Cancellation of a Planned Encounter of a Patient to the Hospital</p><p><b>Encounter Reason Cancelled</b>: Entered in error <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><p><b>status</b>: cancelled</p><p><b>class</b>: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')</p><p><b>subject</b>: <a href="Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html">Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c</a> &quot; GREY&quot;</p><blockquote><p><b>participant</b></p><p><b>type</b>: referrer <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/6.0.2/CodeSystem-v3-ParticipationType.html">ParticipationType</a>#REF)</span></p><p><b>individual</b>: <a href="Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: John Smith</a> &quot; SMITH&quot;</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: General physician <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#59058001)</span></p><p><b>individual</b>: <a href="PractitionerRole-b27fc609-efcb-4c43-a296-5908787de413.html">PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413: Dr David Jones</a></p></blockquote><p><b>appointment</b>: <span><code>urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9</code>/f97c56f9-5ca3-4287-92bf-70092098b11d</span></p><p><b>reasonCode</b>: Withdrawal arrhythmia <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#184004)</span></p><h3>Locations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Location</b></td><td><b>PhysicalType</b></td></tr><tr><td style="display: none">*</td><td><a href="Location-094e3a90-4eb7-4921-9727-20078b3a74ca.html">Location/094e3a90-4eb7-4921-9727-20078b3a74ca: Main Emergency Ward</a> &quot;Emergency Ward&quot;</td><td>Ward <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/6.0.2/CodeSystem-location-physical-type.html">Location type</a>#wa)</span></td></tr></table><p><b>serviceProvider</b>: <a href="Organization-ade47c8c-9eed-11ea-a6fa-3f7e286deed9.html">Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9: Practice FHIR</a> &quot;Healthy Live Clinic&quot;</p></div>
  </text>
  <extension
             url="http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate">
    <valueDateTime value="2023-10-20T01:00:00Z"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate">
    <valueDateTime value="2023-12-22"/>
  </extension>
  <extension
             url="https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext">
    <valueString
                 value="Cancellation of a Planned Encounter of a Patient to the Hospital"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled">
    <valueCodeableConcept>
      <text value="Entered in error"/>
    </valueCodeableConcept>
  </extension>
  <status value="cancelled"/>
  <class>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
    <code value="IMP"/>
    <display value="inpatient encounter"/>
  </class>
  <subject>🔗 
    <reference value="Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"/>
  </subject>
  <participant>
    <type>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="REF"/>
        <display value="referrer"/>
      </coding>
    </type>
    <individual>🔗 
      <reference value="Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054"/>
      <display value="John Smith"/>
    </individual>
  </participant>
  <participant>
    <type>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="59058001"/>
        <display value="General physician"/>
      </coding>
    </type>
    <individual>🔗 
      <reference
                 value="PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413"/>
      <display value="Dr David Jones"/>
    </individual>
  </participant>
  <appointment>
    <identifier>
      <system value="urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9"/>
      <value value="f97c56f9-5ca3-4287-92bf-70092098b11d"/>
      <assigner>
        <display value="Practice FHIR"/>
      </assigner>
    </identifier>
  </appointment>
  <reasonCode>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="184004"/>
      <display value="Withdrawal arrhythmia"/>
    </coding>
    <text value="Withdrawal arrhythmia"/>
  </reasonCode>
  <location>
    <location>🔗 
      <reference value="Location/094e3a90-4eb7-4921-9727-20078b3a74ca"/>
      <display value="Main Emergency Ward"/>
    </location>
    <physicalType>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
        <code value="wa"/>
        <display value="Ward"/>
      </coding>
    </physicalType>
  </location>
  <serviceProvider>🔗 
    <reference value="Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9"/>
    <display value="Practice FHIR"/>
  </serviceProvider>
</Encounter>