MediRecords FHIR Implementation Guide
1.4.1 - release


: MR Admissions Planned Encounter Admitted 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 "0291f306-e786-4ac4-be26-44b47714d85f"] ; # 
  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=\"0291f306-e786-4ac4-be26-44b47714d85f\"> </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;0291f306-e786-4ac4-be26-44b47714d85f&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>Encounter plannedStartDate</b>: 2023-10-20 01:00:00+0000</p><p><b>Encounter plannedEndDate</b>: 2023-12-22</p><p><b>MR Comment Note Extension</b>: Planned Encounter for a Patient who has been admitted to a Hospital</p><p><b>Encounter Mode Of Arrival</b>: Public Transport (Details: http://terminology.hl7.org/CodeSystem/v2-0430 code P = 'Public Transport', stated as 'Public Transport')</p><p><b>identifier</b>: Visit number/ADM-27</p><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>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>: anaesthetist <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#88189002)</span></p><p><b>individual</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40052.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40052: Dr Helen Mayo</a> &quot; MAYO&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=\"PractitionerRole-b27fc609-efcb-4c43-a296-5908787de413.html\">PractitionerRole/b27fc609-efcb-4c43-a296-5908787de413: Dr David Jones</a></p></blockquote><p><b>period</b>: 2023-12-20 00:34:00+0000 --&gt; (ongoing)</p><p><b>reasonCode</b>: Ischaemic foot <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#301755001)</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-981171dc-64ee-4b0f-80b6-4d69be265d69.html\">Location/981171dc-64ee-4b0f-80b6-4d69be265d69: Red Room 1</a> &quot;Red Room&quot;</td><td>Room <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>#ro)</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.plannedStartDate"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2023-10-20T01:00:00Z"^^xsd:dateTime ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2023-12-22"^^xsd:date ]
  ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Planned Encounter for a Patient who has been admitted to a Hospital" ]
  ] [
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 "P" ] ;
fhir:display [ fhir:v "Public Transport" ]     ]
  ] ) ; # 
  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:ecbc56b9-7c0d-4268-abc4-6048bcbac17f"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ADM-27" ]
  ] ) ; # 
  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: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 [
a sct:88189002 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "88189002" ] ;
fhir:display [ fhir:v "anaesthetist" ]       ] )     ] ) ;
fhir:individual [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40052" ] ;
fhir:display [ fhir:v "Dr Helen Mayo" ]     ]
  ] [
    ( 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 "2023-12-20T00:34:00Z"^^xsd:dateTime ]
  ] ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:301755001 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "301755001" ] ;
fhir:display [ fhir:v "Ischaemic foot" ]     ] ) ;
fhir:text [ fhir:v "Ischaemic foot" ]
  ] ) ; # 
  fhir:location ( [
fhir:location [
fhir:reference [ fhir:v "Location/981171dc-64ee-4b0f-80b6-4d69be265d69" ] ;
fhir:display [ fhir:v "Red Room 1" ]     ] ;
fhir:physicalType [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/location-physical-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ro" ] ;
fhir:display [ fhir:v "Room" ]       ] )     ]
  ] ) ; # 
  fhir:serviceProvider [
fhir:reference [ fhir:v "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9" ] ;
fhir:display [ fhir:v "Practice FHIR" ]
  ] . #