| 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-jones-olivia

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-jones-olivia"];
      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            <table>\n                <tr>\n                    <td>NAME</td>\n                    <td>Ms. Olivia Amelia JONES</td>\n                </tr>\n                <tr>\n                    <td>IHI NUMBER</td>\n                    <td>8003608000228437</td>\n                </tr>\n                <tr>\n                    <td>DOB</td>\n                    <td>03 January 1957</td>\n                </tr>\n                <tr>\n                    <td>GENDER</td>\n                    <td>Female</td>\n                </tr>\n                <tr>\n                    <td>INDIGENOUS STATUS</td>\n                    <td>Neither Aboriginal nor Torres Strait Islander origin</td>\n                </tr>\n                <tr>\n                    <td>COUNTRY OF BIRTH</td>\n                    <td>United Kingdom</td>\n                </tr>\n                <tr>\n                    <td>YEAR OF ARRIVAL</td>\n                    <td>1973</td>\n                </tr>\n                <tr>\n                    <td>INTERPRETER REQUIRED</td>\n                    <td>No</td>\n                </tr>\n            </table>\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 "United Kingdom" ];
           fhir:Address.country [ fhir:value "GBR" ]     ]
      ], [
         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 "false"^^xsd:boolean ]
      ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/date-of-arrival" ];
         fhir:Extension.valueDate [ fhir:value "1973"^^xsd:gYear ]
      ];
      fhir:Patient.identifier [
         fhir:index 0;
         fhir:Identifier.use [ fhir:value "official" ];
         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:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
         fhir:Identifier.value [ fhir:value "8003608000228437" ]
      ];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.use [ fhir:value "usual" ];
         fhir:HumanName.family [ fhir:value "JONES" ];
         fhir:HumanName.given [
           fhir:value "Olivia";
           fhir:index 0     ], [
           fhir:value "Amelia";
           fhir:index 1     ];
         fhir:HumanName.prefix [
           fhir:value "Ms.";
           fhir:index 0     ]
      ];
      fhir:Patient.gender [ fhir:value "female"];
      fhir:Patient.birthDate [ fhir:value "1957-01-03"^^xsd:date].

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

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