| 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-hi-testdata-priest-mac

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 "hi-testdata-priest-mac"];
      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>LASTNAME</td>\n                    <td>PRIEST</td>\n                </tr>\n                <tr>\n                    <td>FIRSTNAME</td>\n                    <td>Mac</td>\n                </tr>\n                <tr>\n                    <td>IHI NUMBER</td>\n                    <td>8003608333563104</td>\n                </tr>\n                <tr>\n                    <td>MEDICARE CARD</td>\n                    <td>2953307121</td>\n                </tr>\n                <tr>\n                    <td>DOB</td>\n                    <td>9 March 1989</td>\n                </tr>\n                <tr>\n                    <td>GENDER</td>\n                    <td>M</td>\n                </tr>\n                <tr>\n                    <td>ADDRESS</td>\n                    <td>55 Council Pnt, ASHTONFIELD, NSW, 2323</td>\n                </tr>\n                <tr>\n                    <td>POSTAL ADDRESS</td>\n                    <td>55 Council Pnt, ASHTONFIELD, NSW, 2323</td>\n                </tr>\n            </table>\n        </div>"
      ];
      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 "8003608333563104" ]
      ], [
         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:Coding.display [ fhir:value "Patient's Medicare number" ]       ]     ];
         fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/medicare-number" ];
         fhir:Identifier.value [ fhir:value "2953307121" ];
         fhir:Identifier.period [
           fhir:Period.end [ fhir:value "2024-03-31"^^xsd:date ]     ]
      ];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.family [ fhir:value "PRIEST" ];
         fhir:HumanName.given [
           fhir:value "Mac";
           fhir:index 0     ]
      ];
      fhir:Patient.gender [ fhir:value "male"];
      fhir:Patient.birthDate [ fhir:value "1989-03-09"^^xsd:date];
      fhir:Patient.address [
         fhir:index 0;
         fhir:Address.use [ fhir:value "home" ];
         fhir:Address.type [ fhir:value "physical" ];
         fhir:Address.line [
           fhir:value "55 Council Pnt";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "ASHTONFIELD" ];
         fhir:Address.state [ fhir:value "NSW" ];
         fhir:Address.postalCode [ fhir:value "2323" ]
      ], [
         fhir:index 1;
         fhir:Address.use [ fhir:value "billing" ];
         fhir:Address.type [ fhir:value "postal" ];
         fhir:Address.line [
           fhir:value "55 Council Pnt";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "ASHTONFIELD" ];
         fhir:Address.state [ fhir:value "NSW" ];
         fhir:Address.postalCode [ fhir:value "2323" ]
      ].

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

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