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

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

## : DHOutpatientEncounterCreateExample - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:Encounter ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2025-09-04T09:00:00.000Z"^^xsd:dateTime ] ;
    fhir:source [ fhir:v "https://standards.digital.health.nz/ns/hpi-facility-id/F12345"^^xsd:anyURI ] ;
        ( fhir:profile [
    fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOutpatientEncounterCreate"^^xsd:anyURI ;
    fhir:link <https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOutpatientEncounterCreate>     ] [
    fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOutpatientEncounter"^^xsd:anyURI ;
    fhir:link <https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOutpatientEncounter>     ] ) ;
        ( fhir:tag [
    fhir:system [ fhir:v "https://hub.services.digital.health.nz/ns/correlation-id"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ]     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter dho-outpatient-encounter-create-instance</b></p><a name=\"dho-outpatient-encounter-create-instance\"> </a><a name=\"hcdho-outpatient-encounter-create-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: 1; 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/F12345\">https://standards.digital.health.nz/ns/hpi-facility-id/F12345</a></p><p style=\"margin-bottom: 0px\">Profiles: <a href=\"StructureDefinition-DHOutpatientEncounterCreate.html\">Dunedin Hospital Outpatient Create Encounter</a>, <a href=\"StructureDefinition-DHOutpatientEncounter.html\">Dunedin Hospital Outpatient Get Encounter</a></p><p style=\"margin-bottom: 0px\">Tag: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (Details: correlation-id code xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)</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>: <a href=\"Patient-CareyCarrington.html\">Carey Carrington</a></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>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-create-instance/DHOClinicLocation\">Location Dunedin Hospital Outpatients, Clinic K01</a></td><td>Planned</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-create-instance/DHOClinicLocation\"> </a><a name=\"hcdho-outpatient-encounter-create-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>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>"^^rdf:XMLLiteral
      ] ; #
      fhir:contained ( [
    a fhir:Location ;
    fhir:id [ fhir:v "DHOClinicLocation" ] ;
    fhir:meta [
          ( fhir:profile [
    fhir:v "http://hl7.org.nz/fhir/StructureDefinition/NzLocation"^^xsd:anyURI ;
    fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NzLocation>       ] )     ] ;
        ( fhir:identifier [
    fhir:value [ fhir:v "4211-K01" ]     ] ) ;
    fhir:name [ fhir:v "Dunedin Hospital Outpatients, Clinic K01" ] ;
    fhir:partOf [
    fhir:type [ fhir:v "Location"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/hpi-facility-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "4211" ]       ] ;
    fhir:display [ fhir:v "Dunedin Hospital" ]     ]
      ] ) ; #
      fhir:status [ fhir:v "arrived"] ; #
      fhir:class [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "AMB" ] ;
    fhir:display [ fhir:v "Ambulatory" ]
      ] ; #
      fhir:serviceType [
        ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/service-type"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "397" ] ;
    fhir:display [ fhir:v "Outpatients" ]     ] ) ;
    fhir:text [ fhir:v "Outpatients" ]
      ] ; #
      fhir:subject [
    fhir:reference [ fhir:v "Patient/CareyCarrington" ] ;
    fhir:display [ fhir:v "Carey Carrington" ]
      ] ; #
      fhir:participant ( [
        ( fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "CON" ] ;
    fhir:display [ fhir:v "consultant" ]       ] ) ;
    fhir:text [ fhir:v "Consultant" ]     ] ) ;
    fhir:period [
    fhir:start [ fhir:v "2025-09-03T02:30:35Z"^^xsd:dateTime ] ;
    fhir:end [ fhir:v "2025-09-03T03:30:35Z"^^xsd:dateTime ]     ] ;
    fhir:individual [
    fhir:type [ fhir:v "Practitioner"^^xsd:anyURI ] ;
    fhir:identifier [
    fhir:use [ fhir:v "official" ] ;
    fhir:system [ fhir:v "https://standards.digital.health.nz/ns/hpi-person-id"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "99ZZZX" ]       ] ;
    fhir:display [ fhir:v "Dr Dottie McStuffins" ]     ]
      ] ) ; #
      fhir:period [
    fhir:start [ fhir:v "2025-09-03T02:30:35Z"^^xsd:dateTime ]
      ] ; #
      fhir:length [
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "hour" ] ;
    fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "h" ]
      ] ; #
      fhir:location ( [
    fhir:location [
    fhir:reference [ fhir:v "#DHOClinicLocation" ]     ] ;
    fhir:status [ fhir:v "planned" ] ;
    fhir:period [
    fhir:start [ fhir:v "2025-09-03T02:30:35Z"^^xsd:dateTime ] ;
    fhir:end [ fhir:v "2025-09-03T03:30:35Z"^^xsd:dateTime ]     ]
      ] ) . #