QI-Core Implementation Guide
5.0.0-ballot - STU Ballot US

This page is part of the Quality Improvement Core Framework (v5.0.0-ballot: STU 5 Ballot 1) based on FHIR R4. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

: Encounter example - XML Representation

Raw xml | Download



<Encounter xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Encounter</b></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 "example" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-qicore-encounter.html">QICore Encounter</a></p></div><blockquote><p><b>Encounter Procedure Extension</b></p><p><b>value</b>: Excision of appendix (procedure) <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#80146002)</span></p><p><b>value</b>: 1</p><p><b>value</b>: <a href="Procedure-example.html">Procedure/example</a></p></blockquote><p><b>status</b>: in-progress</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>type</b>: Inpatient Hospital Care <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-CPT.html">Current Procedural Terminology (CPT&reg;)</a>#99223)</span></p><p><b>subject</b>: <a href="Patient-example.html">Patient/example</a> " CHALMERS"</p><h3>Diagnoses</h3><table class="grid"><tr><td>-</td><td><b>Extension</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td></td><td><a href="Condition-appendicitis-example.html">Condition/appendicitis-example</a></td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-procedure">
    <extension url="type">
      <valueCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="80146002"/>
          <display value="Excision of appendix (procedure)"/>
        </coding>
        <text value="Excision of appendix (procedure)"/>
      </valueCodeableConcept>
    </extension>
    <extension url="rank">
      <valuePositiveInt value="1"/>
    </extension>
    <extension url="procedure">
      <valueReference>
        <reference value="Procedure/example"/>
      </valueReference>
    </extension>
  </extension>
  <status value="in-progress"/>
  <class>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
    <code value="IMP"/>
    <display value="inpatient encounter"/>
  </class>
  <type>
    <coding>
      <system value="http://www.ama-assn.org/go/cpt"/>
      <code value="99223"/>
      <display value="Inpatient Hospital Care"/>
    </coding>
  </type>
  <subject>
    <reference value="Patient/example"/>
  </subject>
  <diagnosis>
    <extension
               url="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission">
      <valueCodeableConcept>
        <coding>
          <system
                  value="https://www.cms.gov/Medicare/Medicare-Fee-for-Service-Payment/HospitalAcqCond/Coding"/>
          <code value="Y"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <condition>
      <reference value="Condition/appendicitis-example"/>
    </condition>
  </diagnosis>
</Encounter>