| 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: Patient-p2p-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 "p2p-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\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Wei Zhang </b> male, DoB: 1972-05-03 ( IHI: 8003608000228437)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li>Medicare Number: 29533070311</li><li>Medical Record Number: 2338172</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail:</td><td colspan=\"3\">6 Macquarie Street Sydney NSW 2000 (HOME)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Languages spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes: {urn:ietf:bcp:47 yue}\">Cantonese</span> (preferred)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.\"><a href=\"http://hl7.org/fhir/R4/extension-patient-birthplace.html\">Birth Place:</a></td><td colspan=\"3\"><ul><li>China</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This extension applies to the Patient, RelatedPerson, and Practitioner resources and is used to represent a person's date of arrival in an Australian context. The date of arrival is when a person (born outside of Australia) first arrived in Australia, from another country, with the intention of living in Australia for one year or more. This date is recorded once for a person and is not subsequently updated with subsequent arrivals.\"><a href=\"http://hl7.org.au/fhir/4.0.0/StructureDefinition-date-of-arrival.html\">Date of Arrival in Australia:</a></td><td colspan=\"3\"><ul><li>2017</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This extension applies to the Patient resource and is used to indicate whether a person identifies as being of Aboriginal or Torres Strait Islander origin.\"><a href=\"http://hl7.org.au/fhir/4.0.0/StructureDefinition-indigenous-status.html\">Australian Indigeneous Status:</a></td><td colspan=\"3\"><ul><li>https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1 4: Neither Aboriginal nor Torres Strait Islander origin</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This Patient requires an interpreter to communicate healthcare information to the practitioner.\"><a href=\"http://hl7.org/fhir/R4/extension-patient-interpreterrequired.html\">interpreterRequired:</a></td><td colspan=\"3\"><ul><li>true</li></ul></td></tr></table></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:index 2;
         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 "MR" ];
             fhir:Coding.display [ fhir:value "Medical record number" ]       ];
           fhir:CodeableConcept.text [ fhir:value "Medical Record Number" ]     ];
         fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hpio-scoped/medicalrecord/1.0/8003626566699734" ];
         fhir:Identifier.value [ fhir:value "2338172" ];
         fhir:Identifier.assigner [
           fhir:Reference.display [ fhir:value "NSW Hospital" ]     ]
      ];
      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.address [
         fhir:index 0;
         fhir:Address.use [ fhir:value "home" ];
         fhir:Address.line [
           fhir:value "6 Macquarie Street";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "Sydney" ];
         fhir:Address.state [ fhir:value "NSW" ];
         fhir:Address.postalCode [ fhir:value "2000" ]
      ];
      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.