QI-Core Implementation Guide
6.0.0-ballot - ballot United States of America flag

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

: Encounter example of emergency visit that escalated into inpatient patient - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "encounter-ed-example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"encounter-ed-example\"> </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;encounter-ed-example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-encounter.html\">QICore Encounter</a></p></div><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/5.0.0/CodeSystem-CPT.html\">Current Procedural Terminology (CPT®)</a>#99223)</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; CHALMERS&quot;</p><p><b>period</b>: 2017-02-01 07:15:00+1000 --&gt; (ongoing)</p><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"Location-example.html\">Location/example: Emergency Waiting Room</a> &quot;South Wing, second floor&quot;</p><p><b>status</b>: active</p><p><b>period</b>: 2017-02-01 07:15:00+1000 --&gt; 2017-02-01 08:45:00+1000</p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"Location-example.html\">Location/example: Emergency</a> &quot;South Wing, second floor&quot;</p><p><b>status</b>: active</p><p><b>period</b>: 2017-02-01 08:45:00+1000 --&gt; 2017-02-01 09:27:00+1000</p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"Location-example.html\">Location/example: Ward 1, Room 42, Bed 1</a> &quot;South Wing, second floor&quot;</p><p><b>status</b>: active</p><p><b>period</b>: 2017-02-01 09:27:00+1000 --&gt; 2017-02-01 12:15:00+1000</p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"Location-example.html\">Location/example: Ward 1, Room 42, Bed 1</a> &quot;South Wing, second floor&quot;</p><p><b>status</b>: reserved</p><p><b>period</b>: 2017-02-01 12:15:00+1000 --&gt; 2017-02-01 12:45:00+1000</p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"Location-example.html\">Location/example: Ward 1, Room 42, Bed 1</a> &quot;South Wing, second floor&quot;</p><p><b>status</b>: active</p><p><b>period</b>: 2017-02-01 12:45:00+1000 --&gt; (ongoing)</p></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:class [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "IMP" ] ;
fhir:display [ fhir:v "inpatient encounter" ]
  ] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://www.ama-assn.org/go/cpt"^^xsd:anyURI ] ;
fhir:code [ fhir:v "99223" ] ;
fhir:display [ fhir:v "Inpatient Hospital Care" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:period [
fhir:start [ fhir:v "2017-02-01T07:15:00+10:00"^^xsd:dateTime ]
  ] ; # 
  fhir:location ( [
fhir:location [
fhir:reference [ fhir:v "Location/example" ] ;
fhir:display [ fhir:v "Emergency Waiting Room" ]     ] ;
fhir:status [ fhir:v "active" ] ;
fhir:period [
fhir:start [ fhir:v "2017-02-01T07:15:00+10:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2017-02-01T08:45:00+10:00"^^xsd:dateTime ]     ]
  ] [
fhir:location [
fhir:reference [ fhir:v "Location/example" ] ;
fhir:display [ fhir:v "Emergency" ]     ] ;
fhir:status [ fhir:v "active" ] ;
fhir:period [
fhir:start [ fhir:v "2017-02-01T08:45:00+10:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2017-02-01T09:27:00+10:00"^^xsd:dateTime ]     ]
  ] [
fhir:location [
fhir:reference [ fhir:v "Location/example" ] ;
fhir:display [ fhir:v "Ward 1, Room 42, Bed 1" ]     ] ;
fhir:status [ fhir:v "active" ] ;
fhir:period [
fhir:start [ fhir:v "2017-02-01T09:27:00+10:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2017-02-01T12:15:00+10:00"^^xsd:dateTime ]     ]
  ] [
fhir:location [
fhir:reference [ fhir:v "Location/example" ] ;
fhir:display [ fhir:v "Ward 1, Room 42, Bed 1" ]     ] ;
fhir:status [ fhir:v "reserved" ] ;
fhir:period [
fhir:start [ fhir:v "2017-02-01T12:15:00+10:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2017-02-01T12:45:00+10:00"^^xsd:dateTime ]     ]
  ] [
fhir:location [
fhir:reference [ fhir:v "Location/example" ] ;
fhir:display [ fhir:v "Ward 1, Room 42, Bed 1" ]     ] ;
fhir:status [ fhir:v "active" ] ;
fhir:period [
fhir:start [ fhir:v "2017-02-01T12:45:00+10:00"^^xsd:dateTime ]     ]
  ] ) . #