MediRecords FHIR Implementation Guide
1.4.1 - release


: MR Admissions Emergency Encounter Discharge 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 "4a2bfa1d-e10f-4858-b76a-45ac30584146"] ; # 
  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=\"4a2bfa1d-e10f-4858-b76a-45ac30584146\"> </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;4a2bfa1d-e10f-4858-b76a-45ac30584146&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>: Administrative Discharge of the Patient from ED</p><p><b>Encounter Mode Of Arrival</b>: Police/Correctional Services Vehicle (Details: https://fhir.medirecords.com/CodeSystem/mr-transfer-mode code 7 = 'Police/Correctional Services Vehicle', stated as 'Police/Correctional Services Vehicle')</p><p><b>identifier</b>: Visit number/EMG-8</p><p><b>status</b>: finished</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>period</b>: 2024-01-11 00:30:34+0000 --&gt; 2024-01-11 00:34:50+0000</p><p><b>reasonCode</b>: Chorioretinal rupture <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#231999002)</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 "Administrative Discharge of the Patient from 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 "7" ] ;
fhir:display [ fhir:v "Police/Correctional Services Vehicle" ]     ]
  ] ) ; # 
  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:3baa0d8c-9d3a-4325-a036-dfb3ff5b89d1"^^xsd:anyURI ] ;
fhir:value [ fhir:v "EMG-8" ]
  ] ) ; # 
  fhir:status [ fhir:v "finished"] ; # 
  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:period [
fhir:start [ fhir:v "2024-01-11T00:30:34Z"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2024-01-11T00:34:50Z"^^xsd:dateTime ]
  ] ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:231999002 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "231999002" ] ;
fhir:display [ fhir:v "Chorioretinal rupture" ]     ] ) ;
fhir:text [ fhir:v "Chorioretinal rupture" ]
  ] ) ; # 
  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" ]
  ] . #