MediRecords FHIR Implementation Guide
1.4.1 - release


: Webhook Bundle for encounter-admission.created event - 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:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "1a3f436e-4899-4fb0-b775-cf681cfce160"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2024-02-23T01:43:30Z"^^xsd:dateTime ]
  ] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:0291f306-e786-4ac4-be26-44b47714d85f"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:0291f306-e786-4ac4-be26-44b47714d85f> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9c"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9c> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:6d6d7ce8-65c2-11e6-a20e-7b5deed40054"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:6d6d7ce8-65c2-11e6-a20e-7b5deed40054> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9> )
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:981171dc-64ee-4b0f-80b6-4d69be265d69"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:981171dc-64ee-4b0f-80b6-4d69be265d69> )
  ] ) . # 

<urn:uuid:0291f306-e786-4ac4-be26-44b47714d85f> a fhir:Encounter ;
  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\"><a name=\"Encounter_0291f306-e786-4ac4-be26-44b47714d85f\"> </a><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\">See above (Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c)</a></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\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: John Smith)</a></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\">See above (Location/981171dc-64ee-4b0f-80b6-4d69be265d69: Red Room 1)</a></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\">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9: Practice FHIR)</a></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" ]
  ] . # 

<urn:uuid:1e5cae20-85bf-11e8-b401-ffccd711ad9c> a fhir:Patient ;
  fhir:id [ fhir:v "1e5cae20-85bf-11e8-b401-ffccd711ad9c"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2021-10-11T01:43:30Z"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-patient-core"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-patient-core>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </a><p><b>Generated Narrative: Patient</b><a name=\"1e5cae20-85bf-11e8-b401-ffccd711ad9c\"> </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 Patient &quot;1e5cae20-85bf-11e8-b401-ffccd711ad9c&quot; Updated &quot;2021-10-11 01:43:30+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-patient-core.html\">MR Patient</a></p></div><p><b>English As Second Language Indicator Extension</b>: false</p><p><b>Ethnicity</b>: Scottish <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-mr-patient-ethnicity-code.html\">MediRecords Patient Ethnicity CodeSystem</a>#155)</span></p><p><b>identifier</b>: Medicare Number/32788511952 (period: (?) --&gt; 2025-02)</p><p><b>name</b>: Mila Grey (OFFICIAL), Mila, Don Mila(OLD)</p><p><b>telecom</b>: ph: 0410999999(MOBILE), <a href=\"mailto:mila.grey@xyz.com\">mila.grey@xyz.com</a></p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1990-11-29</p><p><b>address</b>: </p><ul><li>abc lane Sydney NSW 2000 AU (HOME)</li><li>12 MLK BLVD Tampa FL 33131 US (WORK)</li></ul><p><b>generalPractitioner</b>: <a href=\"#Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\">See above (Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054)</a></p><p><b>managingOrganization</b>: <a href=\"#Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9\">See above (Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9)</a></p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-eng-secondlang-ind-extn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "false"^^xsd:boolean ]
  ] [
fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/ethnicity"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
fhir:system [ fhir:v "https://fhir.medirecords.com/CodeSystem/mr-patient-ethnicity-code"^^xsd:anyURI ] ;
fhir:code [ fhir:v "155" ] ;
fhir:display [ fhir:v "Scottish" ]       ] )     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MC" ] ;
fhir:display [ fhir:v "Patient's Medicare Number" ]       ] ) ;
fhir:text [ fhir:v "Medicare Number" ]     ] ;
fhir:system [ fhir:v "http://ns.electronichealth.net.au/id/medicare-number"^^xsd:anyURI ] ;
fhir:value [ fhir:v "32788511952" ] ;
fhir:period [
fhir:end [ fhir:v "2025-02"^^xsd:gYearMonth ]     ]
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Grey" ] ;
    ( fhir:given [ fhir:v "Mila" ] ) ;
    ( fhir:prefix [ fhir:v "Mrs" ] )
  ] [
fhir:use [ fhir:v "usual" ] ;
fhir:text [ fhir:v "Mila" ]
  ] [
fhir:use [ fhir:v "old" ] ;
fhir:text [ fhir:v "Don Mila" ]
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0410999999" ] ;
fhir:use [ fhir:v "mobile" ] ;
fhir:rank [ fhir:v "1"^^xsd:positiveInteger ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mila.grey@xyz.com" ] ;
fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [
fhir:v "1990-11-29"^^xsd:date ;
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://healthterminologies.gov.au/fhir/CodeSystem/date-accuracy-indicator-1"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AAA" ] ;
fhir:display [ fhir:v "Day, month and year are accurate" ]       ]     ] )
  ] ; # 
  fhir:address ( [
    ( fhir:extension [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-address-isprimary-extn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]     ] ) ;
fhir:use [ fhir:v "home" ] ;
fhir:type [ fhir:v "physical" ] ;
    ( fhir:line [ fhir:v "abc lane" ] ) ;
fhir:city [ fhir:v "Sydney" ] ;
fhir:state [ fhir:v "NSW" ] ;
fhir:postalCode [ fhir:v "2000" ] ;
fhir:country [ fhir:v "AU" ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-address-isprimary-extn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "false"^^xsd:boolean ]     ] ) ;
fhir:use [ fhir:v "work" ] ;
fhir:type [ fhir:v "physical" ] ;
    ( fhir:line [ fhir:v "12 MLK BLVD" ] ) ;
fhir:city [ fhir:v "Tampa" ] ;
fhir:state [ fhir:v "FL" ] ;
fhir:postalCode [ fhir:v "33131" ] ;
fhir:country [ fhir:v "US" ]
  ] ) ; # 
  fhir:generalPractitioner ( [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ]
  ] ) ; # 
  fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9" ]
  ] . # 

<urn:uuid:6d6d7ce8-65c2-11e6-a20e-7b5deed40054> a fhir:Practitioner ;
  fhir:id [ fhir:v "6d6d7ce8-65c2-11e6-a20e-7b5deed40054"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-practitioner-core"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-practitioner-core>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_6d6d7ce8-65c2-11e6-a20e-7b5deed40054\"> </a><p><b>Generated Narrative: Practitioner</b><a name=\"6d6d7ce8-65c2-11e6-a20e-7b5deed40054\"> </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 Practitioner &quot;6d6d7ce8-65c2-11e6-a20e-7b5deed40054&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-practitioner-core.html\">MR Practitioner</a></p></div><p><b>identifier</b>: HPI-I/8003610833334085</p><p><b>active</b>: true</p><p><b>name</b>: John Smith </p><p><b>telecom</b>: ph: 0410999888(MOBILE), <a href=\"mailto:john.smith@gpexample.com\">john.smith@gpexample.com</a>, ph: 0212450987(WORK)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1978-04-08</p><blockquote><p><b>qualification</b></p><p><b>code</b>: Doctor of Medicine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v2-0360.html\">degreeLicenseCertificate</a>#MD)</span></p></blockquote><blockquote><p><b>qualification</b></p><p><b>code</b>: MB chB(Hons) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote></div>"
  ] ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NPI" ]       ] ) ;
fhir:text [ fhir:v "HPI-I" ]     ] ;
fhir:system [ fhir:v "http://ns.electronichealth.net.au/id/hi/hpii/1.0"^^xsd:anyURI ] ;
fhir:value [ fhir:v "8003610833334085" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
fhir:use [ fhir:v "usual" ] ;
fhir:family [ fhir:v "Smith" ] ;
    ( fhir:given [ fhir:v "John" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0410999888" ] ;
fhir:use [ fhir:v "mobile" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "john.smith@gpexample.com" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0212450987" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1978-04-08"^^xsd:date] ; # 
  fhir:qualification ( [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0360"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MD" ] ;
fhir:display [ fhir:v "Doctor of Medicine" ]       ] )     ]
  ] [
fhir:code [
fhir:text [ fhir:v "MB chB(Hons)" ]     ]
  ] ) . # 

<urn:uuid:ade47c8c-9eed-11ea-a6fa-3f7e286deed9> a fhir:Organization ;
  fhir:id [ fhir:v "ade47c8c-9eed-11ea-a6fa-3f7e286deed9"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-organisation-core"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-organisation-core>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_ade47c8c-9eed-11ea-a6fa-3f7e286deed9\"> </a><p><b>Generated Narrative: Organization</b><a name=\"ade47c8c-9eed-11ea-a6fa-3f7e286deed9\"> </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 Organization &quot;ade47c8c-9eed-11ea-a6fa-3f7e286deed9&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-organisation-core.html\">MR Organisation</a></p></div><p><b>identifier</b>: HPI-O/8003627500000328</p><p><b>active</b>: true</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-organization-type.html\">Organization type</a>#prov)</span></p><p><b>name</b>: Healthy Live Clinic</p><p><b>telecom</b>: ph: 1234567890(WORK), <a href=\"mailto:sarahstone@c.com\">sarahstone@c.com</a></p><p><b>address</b>: Johnson Street Sydney NSW 1200 </p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org.au/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NOI" ] ;
fhir:display [ fhir:v "National Organisation Identifier" ]       ] ) ;
fhir:text [ fhir:v "HPI-O" ]     ] ;
fhir:system [ fhir:v "http://ns.electronichealth.net.au/id/hi/hpio/1.0"^^xsd:anyURI ] ;
fhir:value [ fhir:v "8003627500000328" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/organization-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "prov" ] ;
fhir:display [ fhir:v "Healthcare Provider" ]     ] )
  ] ) ; # 
  fhir:name [ fhir:v "Healthy Live Clinic"] ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "1234567890" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "sarahstone@c.com" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:address ( [
fhir:type [ fhir:v "physical" ] ;
    ( fhir:line [ fhir:v "Johnson Street" ] ) ;
fhir:city [ fhir:v "Sydney" ] ;
fhir:state [ fhir:v "NSW" ] ;
fhir:postalCode [ fhir:v "1200" ]
  ] ) . # 

<urn:uuid:981171dc-64ee-4b0f-80b6-4d69be265d69> a fhir:Location ;
  fhir:id [ fhir:v "981171dc-64ee-4b0f-80b6-4d69be265d69"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-location-admission"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-location-admission>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Location_981171dc-64ee-4b0f-80b6-4d69be265d69\"> </a><p><b>Generated Narrative: Location</b><a name=\"981171dc-64ee-4b0f-80b6-4d69be265d69\"> </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 Location &quot;981171dc-64ee-4b0f-80b6-4d69be265d69&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-location-admission.html\">MR Location Admission</a></p></div><p><b>identifier</b>: <code>https://fhir.medirecords.com/location-scoped/094e3a90-4eb7-4921-9727-20078b3a74ca</code>/R198</p><p><b>status</b>: active</p><p><b>name</b>: Red Room</p><p><b>description</b>: Red Room 1</p><p><b>mode</b>: instance</p><p><b>physicalType</b>: 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></p><p><b>managingOrganization</b>: <a href=\"Organization-5ae12958-6291-4101-a6f5-45ed8bbbcb34.html\">Organization/5ae12958-6291-4101-a6f5-45ed8bbbcb34</a> &quot;Practice FHIR&quot;</p><p><b>partOf</b>: <a href=\"Location-094e3a90-4eb7-4921-9727-20078b3a74ca.html\">Location/094e3a90-4eb7-4921-9727-20078b3a74ca</a> &quot;Emergency Ward&quot;</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "https://fhir.medirecords.com/location-scoped/094e3a90-4eb7-4921-9727-20078b3a74ca"^^xsd:anyURI ] ;
fhir:value [ fhir:v "R198" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:name [ fhir:v "Red Room"] ; # 
  fhir:description [ fhir:v "Red Room 1"] ; # 
  fhir:mode [ fhir:v "instance"] ; # 
  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:managingOrganization [
fhir:reference [ fhir:v "Organization/5ae12958-6291-4101-a6f5-45ed8bbbcb34" ]
  ] ; # 
  fhir:partOf [
fhir:reference [ fhir:v "Location/094e3a90-4eb7-4921-9727-20078b3a74ca" ]
  ] . #