Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.5 - release New Zealand flag

Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.5) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: DHOEncounterExample - 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Encounter/dho-outpatient-encounter-instance> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "dho-outpatient-encounter-instance"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "3" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2025-09-04T09:00:00.000Z"^^xsd:dateTime ] ;
     fhir:Meta.source [ fhir:value "https://standards.digital.health.nz/ns/hpi-facility-id/F04066-D" ] ;
     fhir:Meta.profile [
       fhir:value "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOEncounter" ;
       fhir:index 0 ;
       fhir:link <https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOEncounter>
     ] ;
     fhir:Meta.tag [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://hub.services.digital.health.nz/ns/correlation-id" ] ;
       fhir:Coding.code [ fhir:value "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ]
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter dho-outpatient-encounter-instance</b></p><a name=\"dho-outpatient-encounter-instance\"> </a><a name=\"hcdho-outpatient-encounter-instance\"> </a><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\">version: 3; Last updated: 2025-09-04 09:00:00+0000; </p><p style=\"margin-bottom: 0px\">Information Source: <a href=\"https://standards.digital.health.nz/ns/hpi-facility-id/F04066-D\">https://standards.digital.health.nz/ns/hpi-facility-id/F04066-D</a></p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-DHOEncounter.html\">DHO Encounter profile</a></p><p style=\"margin-bottom: 0px\">Tag: </p></div><p><b>status</b>: Arrived</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (Ambulatory)</p><p><b>serviceType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/service-type 397}\">Outpatients</span></p><p><b>subject</b>: Carey Carrington (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-nhi.html\" title=\"NHI number\">NHI</a>/ZXP7823 (use: official, ))</p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Period</b></td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType CON}\">Consultant</span></td><td>2025-09-03 02:30:35+0000 --&gt; 2025-09-03 03:30:35+0000</td><td>Dr Dottie McStuffins (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-hpiProvider.html\" title=\"HPI providers\">HPIProvider</a>/99ZZZX (use: official, ))</td></tr></table><p><b>period</b>: 2025-09-03 02:30:35+0000 --&gt; (ongoing)</p><h3>Lengths</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>hour</td><td><a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-ucum.html\">http://unitsofmeasure.org</a></td><td>h</td></tr></table><h3>Diagnoses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Condition</b></td><td><b>Use</b></td><td><b>Rank</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Condition-DHOConditionExample.html\">Condition COVID-19</a></td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/diagnosis-role CC}\">Chief Complaint</span></td><td>1</td></tr></table><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td><td><b>Status</b></td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#hcdho-outpatient-encounter-instance/DHOClinicLocation\">Location Dunedin Hospital Outpatients, Clinic K01</a></td><td>Completed</td><td>2025-09-03 02:30:35+0000 --&gt; 2025-09-03 03:30:35+0000</td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Location #DHOClinicLocation</b></p><a name=\"dho-outpatient-encounter-instance/DHOClinicLocation\"> </a><a name=\"hcdho-outpatient-encounter-instance/DHOClinicLocation\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://fhir.org.nz/ig/base/StructureDefinition-NzLocation.html\">Location resource for use in NZ</a></p></div><p><b>identifier</b>: 4211-K01</p><p><b>name</b>: Dunedin Hospital Outpatients, Clinic K01</p><p><b>address</b>: 350 Cumberland Street Dunedin Central Dunedin 9016 New Zealand (work)</p><p><b>partOf</b>: Dunedin Hospital (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-hpiFacility.html\" title=\"HPI facilities\">HPIFacility</a>/4211)</p></blockquote></div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:Location ;
     fhir:index 0 ;
     fhir:Resource.id [ fhir:value "DHOClinicLocation" ] ;
     fhir:Resource.meta [
       fhir:Meta.profile [
         fhir:value "http://hl7.org.nz/fhir/StructureDefinition/NzLocation" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NzLocation>
       ]
     ] ;
     fhir:Location.identifier [
       fhir:index 0 ;
       fhir:Identifier.value [ fhir:value "4211-K01" ]
     ] ;
     fhir:Location.name [ fhir:value "Dunedin Hospital Outpatients, Clinic K01" ] ;
     fhir:Location.address [
       fhir:Address.use [ fhir:value "work" ] ;
       fhir:Address.type [ fhir:value "physical" ] ;
       fhir:Address.line [
         fhir:value "350 Cumberland Street" ;
         fhir:index 0
       ], [
         fhir:value "Dunedin Central" ;
         fhir:index 1
       ] ;
       fhir:Address.city [ fhir:value "Dunedin" ] ;
       fhir:Address.postalCode [ fhir:value "9016" ] ;
       fhir:Address.country [ fhir:value "New Zealand" ]
     ] ;
     fhir:Location.partOf [
       fhir:Reference.type [ fhir:value "Location" ] ;
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nzhis-facility-id" ] ;
         fhir:Identifier.value [ fhir:value "4211" ]
       ] ;
       fhir:Reference.display [ fhir:value "Dunedin Hospital" ]
     ]
  ] ;
  fhir:Encounter.status [ fhir:value "arrived"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
     fhir:Coding.code [ fhir:value "AMB" ] ;
     fhir:Coding.display [ fhir:value "Ambulatory" ]
  ] ;
  fhir:Encounter.serviceType [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/service-type" ] ;
       fhir:Coding.code [ fhir:value "397" ] ;
       fhir:Coding.display [ fhir:value "Outpatients" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Outpatients" ]
  ] ;
  fhir:Encounter.subject [
     fhir:Reference.type [ fhir:value "Patient" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.use [ fhir:value "official" ] ;
       fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
       fhir:Identifier.value [ fhir:value "ZXP7823" ]
     ] ;
     fhir:Reference.display [ fhir:value "Carey Carrington" ]
  ] ;
  fhir:Encounter.participant [
     fhir:index 0 ;
     fhir:Encounter.participant.type [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ] ;
         fhir:Coding.code [ fhir:value "CON" ] ;
         fhir:Coding.display [ fhir:value "consultant" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Consultant" ]
     ] ;
     fhir:Encounter.participant.period [
       fhir:Period.start [ fhir:value "2025-09-03T02:30:35Z"^^xsd:dateTime ] ;
       fhir:Period.end [ fhir:value "2025-09-03T03:30:35Z"^^xsd:dateTime ]
     ] ;
     fhir:Encounter.participant.individual [
       fhir:Reference.type [ fhir:value "Practitioner" ] ;
       fhir:Reference.identifier [
         fhir:Identifier.use [ fhir:value "official" ] ;
         fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/hpi-person-id" ] ;
         fhir:Identifier.value [ fhir:value "99ZZZX" ]
       ] ;
       fhir:Reference.display [ fhir:value "Dr Dottie McStuffins" ]
     ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2025-09-03T02:30:35Z"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.length [
     fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "hour" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "h" ]
  ] ;
  fhir:Encounter.diagnosis [
     fhir:index 0 ;
     fhir:Encounter.diagnosis.condition [
       fhir:link <http://hl7.org/fhir/Condition/DHOConditionExample> ;
       fhir:Reference.reference [ fhir:value "Condition/DHOConditionExample" ]
     ] ;
     fhir:Encounter.diagnosis.use [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/diagnosis-role" ] ;
         fhir:Coding.code [ fhir:value "CC" ] ;
         fhir:Coding.display [ fhir:value "Chief complaint" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Chief Complaint" ]
     ] ;
     fhir:Encounter.diagnosis.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ] ;
  fhir:Encounter.location [
     fhir:index 0 ;
     fhir:Encounter.location.location [
       fhir:Reference.reference [ fhir:value "#DHOClinicLocation" ]
     ] ;
     fhir:Encounter.location.status [ fhir:value "completed" ] ;
     fhir:Encounter.location.period [
       fhir:Period.start [ fhir:value "2025-09-03T02:30:35Z"^^xsd:dateTime ] ;
       fhir:Period.end [ fhir:value "2025-09-03T03:30:35Z"^^xsd:dateTime ]
     ]
  ] .

<http://hl7.org/fhir/Condition/DHOConditionExample> a fhir:Condition .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Encounter/dho-outpatient-encounter-instance.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Encounter/dho-outpatient-encounter-instance.ttl> .