| 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: Bundle-vpr-02

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 sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Bundle;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "vpr-02"];
      fhir:Bundle.type [ fhir:value "collection"];
      fhir:Bundle.timestamp [ fhir:value "2022-10-28T11:01:00+10:00"^^xsd:dateTime];
      fhir:Bundle.entry [
         fhir:index 0;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7715" ];
         fhir:Bundle.entry.resource <urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7715>
      ], [
         fhir:index 1;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716" ];
         fhir:Bundle.entry.resource <urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716>
      ], [
         fhir:index 2;
         fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:cec6e9d8-6b61-432a-85e5-93c0558e66eb" ];
         fhir:Bundle.entry.resource <urn:uuid:cec6e9d8-6b61-432a-85e5-93c0558e66eb>
      ].

    <urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7715> a fhir:Patient;
      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><b>Generated Narrative: Patient</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-patient-core-1.html\">ADHA Core Patient</a></p></div><p><b>identifier</b>: IHI: 8003608833564727(use: OFFICIAL)</p><p><b>name</b>: Bert Gainey</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1971-09-24</p><p><b>generalPractitioner</b>: </p><ul><li><a href=\"#urnuuidcb7921cc-ba17-11ec-833a-b1763b0a7716\">See above (urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716)</a></li><li><span>: Dr Sophia Yu</span></li></ul></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: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 "8003608833564727" ]
      ];
      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.generalPractitioner [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716" ]
      ], [
         fhir:index 1;
         fhir:Reference.type [ fhir:value "PractitionerRole" ];
         fhir:Reference.display [ fhir:value "Dr Sophia Yu" ]
      ].

    <urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716> a fhir:Organization;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-organization-core-1.html\">ADHA Core Organization</a></p></div><p><b>type</b>: GP practice <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#394761003)</span></p><p><b>name</b>: ABC Medical Clinic</p><p><b>telecom</b>: ph: (02) 5550 2427(WORK)</p><p><b>address</b>: Andrew Fisher Building 1 National Circuit Barton ACT 2600 (WORK)</p></div>"
      ];
      fhir:Organization.type [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:394761003;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "394761003" ]     ];
         fhir:CodeableConcept.text [ fhir:value "GP practice" ]
      ];
      fhir:Organization.name [ fhir:value "ABC Medical Clinic"];
      fhir:Organization.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "phone" ];
         fhir:ContactPoint.value [ fhir:value "(02) 5550 2427" ];
         fhir:ContactPoint.use [ fhir:value "work" ]
      ];
      fhir:Organization.address [
         fhir:index 0;
         fhir:Address.use [ fhir:value "work" ];
         fhir:Address.line [
           fhir:value "Andrew Fisher Building";
           fhir:index 0     ], [
           fhir:value "1 National Circuit";
           fhir:index 1     ];
         fhir:Address.city [ fhir:value "Barton" ];
         fhir:Address.state [ fhir:value "ACT" ];
         fhir:Address.postalCode [ fhir:value "2600" ]
      ].

    <urn:uuid:cec6e9d8-6b61-432a-85e5-93c0558e66eb> a fhir:EpisodeOfCare;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-episodeofcare-mymedicare-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-episodeofcare-mymedicare-1>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: EpisodeOfCare</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-episodeofcare-mymedicare-1.html\">ADHA GP Practice Registration Entry</a></p></div><p><b>status</b>: active</p><p><b>type</b>: Primary care management <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#737470001)</span></p><p><b>patient</b>: <a href=\"#urnuuidcb7921cc-ba17-11ec-833a-b1763b0a7715\">See above (urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7715)</a></p><p><b>managingOrganization</b>: <a href=\"#urnuuidcb7921cc-ba17-11ec-833a-b1763b0a7716\">See above (urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716)</a></p><p><b>period</b>: 2021-06-13 --&gt; (ongoing)</p></div>"
      ];
      fhir:EpisodeOfCare.status [ fhir:value "active"];
      fhir:EpisodeOfCare.type [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:737470001;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "737470001" ];
           fhir:Coding.display [ fhir:value "Primary care management" ]     ]
      ];
      fhir:EpisodeOfCare.patient [
         fhir:Reference.reference [ fhir:value "urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7715" ];
         fhir:Reference.identifier [
           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 "8003608833564727" ]     ]
      ];
      fhir:EpisodeOfCare.managingOrganization [
         fhir:Reference.reference [ fhir:value "urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716" ]
      ];
      fhir:EpisodeOfCare.period [
         fhir:Period.start [ fhir:value "2021-06-13"^^xsd:date ]
      ].

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

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