| Australian Digital Health Agency FHIR Implementation Guide 1.0.0

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

## Example: Patient-mhr-zhang-wei

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

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

     a fhir:Patient;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "mhr-zhang-wei"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>\n                <h3>Derived Narrative with Details</h3>\n            </p>\n            <p>\n                <b>Mr Zhang Wei</b>\n            </p>\n            <p>\n                <b>IHI:</b> 8003608000228437   <b>Medicare Number:</b> 29533070311\n            </p>\n            <p>\n                <b>Date Of Birth:</b> 1972-05-03 \n            </p>\n            <p>\n                <b>Country of Birth:</b> China    <b>Year of Arrival:</b> 2017\n            </p>\n            <p>\n                <b>Indigenous Status:</b> Neither Aboriginal nor Torres Strait Islander origin\n            </p>\n            \n            <p>\n                <b>Interpreter Required?</b> Yes   <b>Preferred Language:</b> Cantonese (yue)\n            </p>\n        </div>"
      ];
      fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" ];
         fhir:Extension.valueAddress [
           fhir:Address.text [ fhir:value "China" ];
           fhir:Address.country [ fhir:value "CHN" ]     ]
      ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/indigenous-status" ];
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1" ];
           fhir:Coding.code [ fhir:value "4" ];
           fhir:Coding.display [ fhir:value "Neither Aboriginal nor Torres Strait Islander origin" ]     ]
      ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired" ];
         fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
      ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/date-of-arrival" ];
         fhir:Extension.valueDate [ fhir:value "2017"^^xsd:gYear ]
      ];
      fhir:Patient.identifier [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/ihi-status" ];
           fhir:Extension.valueCoding [
             fhir:Coding.system [ fhir:value "https://healthterminologies.gov.au/fhir/CodeSystem/ihi-status-1" ];
             fhir:Coding.code [ fhir:value "active" ]       ]     ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/ihi-record-status" ];
           fhir:Extension.valueCoding [
             fhir:Coding.system [ fhir:value "https://healthterminologies.gov.au/fhir/CodeSystem/ihi-record-status-1" ];
             fhir:Coding.code [ fhir:value "verified" ];
             fhir:Coding.display [ fhir:value "verified" ]       ]     ];
         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: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:index 1;
         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 "MC" ]       ];
           fhir:CodeableConcept.text [ fhir:value "Medicare Number" ]     ];
         fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/medicare-number" ];
         fhir:Identifier.value [ fhir:value "29533070311" ]
      ];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.family [ fhir:value "Zhang" ];
         fhir:HumanName.given [
           fhir:value "Wei";
           fhir:index 0     ];
         fhir:HumanName.prefix [
           fhir:value "Mr";
           fhir:index 0     ]
      ];
      fhir:Patient.gender [ fhir:value "male"];
      fhir:Patient.birthDate [
         fhir:value "1972-05-03"^^xsd:date;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator" ];
           fhir:Extension.valueCoding [
             fhir:Coding.system [ fhir:value "https://healthterminologies.gov.au/fhir/CodeSystem/date-accuracy-indicator-1" ];
             fhir:Coding.code [ fhir:value "AAA" ];
             fhir:Coding.display [ fhir:value "Day, month and year are accurate" ]       ]     ]
      ];
      fhir:Patient.communication [
         fhir:index 0;
         fhir:Patient.communication.language [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
             fhir:Coding.code [ fhir:value "yue" ]       ];
           fhir:CodeableConcept.text [ fhir:value "Cantonese" ]     ];
         fhir:Patient.communication.preferred [ fhir:value "true"^^xsd:boolean ]
      ].

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

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