MediRecords FHIR Implementation Guide
1.4.1 - release


: MR Admissions Urgent Encounter Cancelled Example - 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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "0091bfbe-626b-4a2e-abdf-ab0c01ea54e6"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2024-01-09T01:43:30Z"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-encounter-admission"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-encounter-admission>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"0091bfbe-626b-4a2e-abdf-ab0c01ea54e6\"> </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;0091bfbe-626b-4a2e-abdf-ab0c01ea54e6&quot; Updated &quot;2024-01-09 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 plannedEndDate</b>: 2023-12-21</p><p><b>MR Comment Note Extension</b>: Cancellation of an Urgent admission of a Patient to the ED</p><p><b>Encounter Mode Of Arrival</b>: Air Ambulance Service (Details: https://fhir.medirecords.com/CodeSystem/mr-transfer-mode code 5 = 'Air Ambulance Service', stated as 'Air Ambulance Service')</p><p><b>Encounter Reason Cancelled</b>: Not an emergency <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>identifier</b>: Visit number/ADM-24</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>: attender <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>#ATND)</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=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: John Smith</a> &quot; SMITH&quot;</p></blockquote><p><b>period</b>: 2023-12-20 00:09:00+0000 --&gt; (ongoing)</p><p><b>reasonCode</b>: Bleeds profusely <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#248252008)</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-fecf67b7-3b3e-4c22-b422-38a8436162e5.html\">Location/fecf67b7-3b3e-4c22-b422-38a8436162e5: Red Room Bed 1</a></td><td>Bed <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>#bd)</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>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2023-12-21"^^xsd:date ]
  ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Cancellation of an Urgent admission of a Patient to the ED" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://fhir.medirecords.com/CodeSystem/mr-transfer-mode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "5" ] ;
fhir:display [ fhir:v "Air Ambulance Service" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "Not an emergency" ]     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "VN" ] ;
fhir:display [ fhir:v "Visit number" ]       ] )     ] ;
fhir:system [ fhir:v "urn:uuid:cea0fb1b-1719-4777-83d4-7d59461b54d2"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ADM-24" ]
  ] ) ; # 
  fhir:status [ fhir:v "cancelled"] ; # 
  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:subject [
fhir:reference [ fhir:v "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c" ]
  ] ; # 
  fhir:participant ( [
    ( fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "REF" ] ;
fhir:display [ fhir:v "referrer" ]       ] )     ] ) ;
fhir:individual [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ] ;
fhir:display [ fhir:v "John Smith" ]     ]
  ] [
    ( fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ATND" ] ;
fhir:display [ fhir:v "attender" ]       ] )     ] ) ;
fhir:individual [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ] ;
fhir:display [ fhir:v "John Smith" ]     ]
  ] [
    ( fhir:type [
      ( fhir:coding [
a sct:59058001 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "59058001" ] ;
fhir:display [ fhir:v "General physician" ]       ] )     ] ) ;
fhir:individual [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ] ;
fhir:display [ fhir:v "John Smith" ]     ]
  ] ) ; # 
  fhir:period [
fhir:start [ fhir:v "2023-12-20T00:09:00Z"^^xsd:dateTime ]
  ] ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:248252008 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "248252008" ] ;
fhir:display [ fhir:v "Bleeds profusely" ]     ] ) ;
fhir:text [ fhir:v "Bleeds profusely" ]
  ] ) ; # 
  fhir:location ( [
fhir:location [
fhir:reference [ fhir:v "Location/fecf67b7-3b3e-4c22-b422-38a8436162e5" ] ;
fhir:display [ fhir:v "Red Room Bed 1" ]     ] ;
fhir:physicalType [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/location-physical-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "bd" ] ;
fhir:display [ fhir:v "Bed" ]       ] )     ]
  ] ) ; # 
  fhir:serviceProvider [
fhir:reference [ fhir:v "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9" ] ;
fhir:display [ fhir:v "Practice FHIR" ]
  ] . #