Australian Digital Health Agency FHIR Implementation Guide 1.1.0

This page is part of the Australian Digital Health Agency FHIR Implementation Guide 1.1.0. It is based on FHIR® version 4.0.1. See the Directory of published versions for a list of available previous versions.

Example: Encounter-es-02

Formats: Narrative, XML, JSON, Turtle

Raw ttl


@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:Resource.id [ fhir:value "es-02"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-encounter-core-1";
       fhir:index 0;
       fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-encounter-core-1>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-AU\">\n            <p>ZHANG Wei; MC = 29533070311; IHI = 8003608000228437; gender = male</p>\n            <p>Patient presented for follow-up with urinary tract infection on 30\n                May.</p>\n            <p>Complaining of frequent and painful urinating. Midstream urine test was\n                done and revealed urinary infection.</p>\n            <p>Culture and sensitivity test discovered escherichia coli sensitive to\n                Bactrim.</p>\n            <p>Patient was prescribed Bactrim 2 tablets twice a day, and Panadol one\n                tablet 4 times a day.</p>\n            <p>Patient has no allergies.</p>\n        </div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/encounter-description" ];
     fhir:Extension.valueString [ fhir:value "Patient presented for follow-up with urinary tract infection on 30 May. Complaining of frequent and painful urinating.              Midstream urine test was done and revealed urinary infection. Culture and sensitivity test discovered escherichia coli sensitive to Bactrim.             Patient was prescribed Bactrim 2 tablets twice a day, and Panadol one tablet 4 times a day. Patient has no allergies." ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  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.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:390906007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "390906007" ];
       fhir:Coding.display [ fhir:value "Follow-up encounter" ]     ]
  ];
  fhir:Encounter.serviceType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:700232004;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "700232004" ];
       fhir:Coding.display [ fhir:value "General medical service" ]     ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/mhr-zhang-wei" ];
     fhir:Reference.identifier [
       fhir:Identifier.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
           fhir:Coding.code [ fhir:value "NI" ];
           fhir:Coding.display [ fhir:value "National unique individual identifier" ]         ];
         fhir:CodeableConcept.text [ fhir:value "IHI" ]       ];
       fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
       fhir:Identifier.value [ fhir:value "8003608000228437" ]     ]
  ];
  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 "PPRF" ];
         fhir:Coding.display [ fhir:value "primary performer" ]       ]     ];
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "PractitionerRole/algrester-greg-gp" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2020-05-30T09:00:00+10:00"^^xsd:dateTime ];
     fhir:Period.end [ fhir:value "2020-05-30T09:30:00+10:00"^^xsd:dateTime ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.