| 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-goodwin-bonny

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-goodwin-bonny"];
      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>Bonny Goodwin (OFFICIAL)</b> female, DoB: 1986-11-13 ( Medicare Number: 3951032981 (period: (?) --&gt; 2024-08))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}\">Married</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Id:</td><td colspan=\"3\">IHI: 8003608000228445 (use: OFFICIAL)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail:</td><td colspan=\"3\">108 Museum Qy AVALON VIC 3212</td></tr></table></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:Coding.display [ 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.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: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 "8003608000228445" ]
      ], [
         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:CodeableConcept.text [ fhir:value "Medicare Number" ]     ];
         fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/medicare-number" ];
         fhir:Identifier.value [ fhir:value "3951032981" ];
         fhir:Identifier.period [
           fhir:Period.end [ fhir:value "2024-08"^^xsd:gYearMonth ]     ]
      ];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.use [ fhir:value "official" ];
         fhir:HumanName.family [ fhir:value "Goodwin" ];
         fhir:HumanName.given [
           fhir:value "Bonny";
           fhir:index 0     ];
         fhir:HumanName.prefix [
           fhir:value "Mrs.";
           fhir:index 0     ]
      ];
      fhir:Patient.gender [ fhir:value "female"];
      fhir:Patient.birthDate [ fhir:value "1986-11-13"^^xsd:date];
      fhir:Patient.address [
         fhir:index 0;
         fhir:Address.text [ fhir:value "108 Museum Qy AVALON VIC 3212" ]
      ];
      fhir:Patient.maritalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ];
           fhir:Coding.code [ fhir:value "M" ];
           fhir:Coding.display [ fhir:value "Married" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Married" ]
      ].

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

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