| 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-gainey-bert

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-gainey-bert"];
      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            <h2>Bert Gainey</h2>\n            <h3>Address</h3>\n            <table>\n                <tr>\n                    <td>Line</td>\n                    <td>197 Woodstock Pl</td>\n                </tr>\n                <tr>\n                    <td>City</td>\n                    <td>CANBERRA AIRPORT</td>\n                </tr>\n                <tr>\n                    <td>State</td>\n                    <td>ACT</td>\n                </tr>\n                <tr>\n                    <td>Postcode</td>\n                    <td>2609</td>\n                </tr>\n            </table>\n            <h3>Identifiers</h3>\n            <h4>Primary</h4>\n            <table>\n                <tr>\n                    <td>IHI</td>\n                    <td>8003608833564727</td>\n                </tr>\n                <tr>\n                    <td>IHI Status</td>\n                    <td>active</td>\n                </tr>\n                <tr>\n                    <td>IHI Record Status</td>\n                    <td>verified</td>\n                </tr>\n            </table>\n            <h4>Secondary</h4>\n            <table>\n                <tr>\n                    <td>Medicare Number</td>\n                    <td>2953307031</td>\n                </tr>\n                <tr>\n                    <td>IRN</td>\n                    <td>1</td>\n                </tr>\n            </table>\n        </div>"
      ];
      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: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.userSelected [ fhir:value "false"^^xsd:boolean ]       ]     ];
         fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
         fhir:Identifier.value [ fhir:value "8003608833564727" ]
      ], [
         fhir:index 1;
         fhir:Identifier.use [ fhir:value "secondary" ];
         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.userSelected [ fhir:value "false"^^xsd:boolean ]       ]     ];
         fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/medicare-number" ];
         fhir:Identifier.value [ fhir:value "29533070311" ];
         fhir:Identifier.period [
           fhir:Period.end [ fhir:value "2023-11-30"^^xsd:date ]     ]
      ];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.use [ fhir:value "usual" ];
         fhir:HumanName.text [ fhir:value "Bert Gainey" ];
         fhir:HumanName.family [ fhir:value "Gainey" ]
      ];
      fhir:Patient.gender [ fhir:value "male"];
      fhir:Patient.birthDate [ fhir:value "1971-09-24"^^xsd:date];
      fhir:Patient.address [
         fhir:index 0;
         fhir:Address.use [ fhir:value "home" ];
         fhir:Address.line [
           fhir:value "197 Woodstock Pl";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "CANBERRA AIRPORT" ];
         fhir:Address.state [ fhir:value "ACT" ];
         fhir:Address.postalCode [ fhir:value "2609" ]
      ].

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

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