MediRecords FHIR Implementation Guide
1.4.1 - release


: MR Admissions Emergency 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 "b71d6415-8d7a-4bd9-89bb-04bd016d2806"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2021-10-25T01: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=\"b71d6415-8d7a-4bd9-89bb-04bd016d2806\"> </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;b71d6415-8d7a-4bd9-89bb-04bd016d2806&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>MR Comment Note Extension</b>: Cancelled emergency admission of a Patient to the ED</p><p><b>Encounter Mode Of Arrival</b>: Car (Details: http://terminology.hl7.org/CodeSystem/v2-0430 code C = 'Car', stated as 'Car')</p><p><b>Encounter Reason Cancelled</b>: Created in error <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>identifier</b>: Visit number/EMG-8</p><p><b>status</b>: cancelled</p><p><b>class</b>: emergency (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code EMER = 'emergency', stated as 'emergency')</p><p><b>priority</b>: 3 - Urgent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-ActPriority.html\">ActPriority</a>#A)</span></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=\"PractitionerRole-b27fc609-efcb-4c43-a296-5908787de413.html\">PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413: Dr David Jones</a></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=\"PractitionerRole-b27fc609-efcb-4c43-a296-5908787de413.html\">PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413: Dr David Jones</a></p></blockquote><p><b>reasonCode</b>: Gallbladder enlarged <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#300344005)</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 "https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Cancelled emergency 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 "http://terminology.hl7.org/CodeSystem/v2-0430"^^xsd:anyURI ] ;
fhir:code [ fhir:v "C" ] ;
fhir:display [ fhir:v "Car" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "Created in error" ]     ]
  ] ) ; # 
  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 "EMG-8" ]
  ] ) ; # 
  fhir:status [ fhir:v "cancelled"] ; # 
  fhir:class [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "EMER" ] ;
fhir:display [ fhir:v "emergency" ]
  ] ; # 
  fhir:priority [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActPriority"^^xsd:anyURI ] ;
fhir:code [ fhir:v "A" ]     ] ) ;
fhir:text [ fhir:v "3 - Urgent" ]
  ] ; # 
  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 "PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413" ] ;
fhir:display [ fhir:v "Dr David Jones" ]     ]
  ] [
    ( 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 "PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413" ] ;
fhir:display [ fhir:v "Dr David Jones" ]     ]
  ] ) ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:300344005 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "300344005" ] ;
fhir:display [ fhir:v "Gallbladder enlarged" ]     ] ) ;
fhir:text [ fhir:v "Gallbladder enlarged" ]
  ] ) ; # 
  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" ]
  ] . #