| 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: DocumentReference-pbs-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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:DocumentReference;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "pbs-02"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-documentreference-core-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-documentreference-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: DocumentReference</b><a name=\"pbs-02\"> </a></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\">Resource DocumentReference &quot;pbs-02&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-documentreference-core-1.html\">ADHA Core DocumentReference</a></p></div><p><b>masterIdentifier</b>: id: urn:uuid:73f7a30b-add3-4673-a4e9-65b0d8670a36</p><p><b>identifier</b>: id: urn:uuid:73f7a30b-add3-4673-a4e9-65b0d8670a36</p><p><b>status</b>: current</p><p><b>docStatus</b>: final</p><p><b>type</b>: Pharmaceutical Benefits Report <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nctis-data-components-1#100.16650)</span></p><p><b>category</b>: Pharmaceutical Benefits Report <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nctis-data-components-1#100.16650)</span></p><p><b>subject</b>: <a href=\"Patient-mhr-field-sally.html\">Patient/mhr-field-sally</a> &quot; FIELD&quot;</p><p><b>date</b>: Feb 16, 2020 3:02:00 PM</p><p><b>author</b>: <a href=\"Device-medicare-rs-01.html\">Device/medicare-rs-01</a></p><p><b>custodian</b>: <a href=\"Organization-medicare-rs-operator.html\">Organization/medicare-rs-operator</a> &quot;Medicare Australia repository services operator&quot;</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>en-AU</td><td><a href=\"http://example.org/mhr/xds/mhd/Binary/9637211e-26e0-4374-ab6c-ed36c76132c8\">http://example.org/mhr/xds/mhd/Binary/9637211e-26e0-4374-ab6c-ed36c76132c8</a></td></tr></table></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td>-</td><td><b>SourcePatientInfo</b></td><td><b>Related</b></td></tr><tr><td>*</td><td><span/></td><td><a href=\"http://example.org/mhr/xds/mhd/ExplanationOfBenefit/73f7a30b-add3-4673-a4e9-65b0d8670a36\">http://example.org/mhr/xds/mhd/ExplanationOfBenefit/73f7a30b-add3-4673-a4e9-65b0d8670a36</a></td></tr></table></div>"
      ];
      fhir:DocumentReference.masterIdentifier [
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
         fhir:Identifier.value [ fhir:value "urn:uuid:73f7a30b-add3-4673-a4e9-65b0d8670a36" ]
      ];
      fhir:DocumentReference.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
         fhir:Identifier.value [ fhir:value "urn:uuid:73f7a30b-add3-4673-a4e9-65b0d8670a36" ]
      ];
      fhir:DocumentReference.status [ fhir:value "current"];
      fhir:DocumentReference.docStatus [ fhir:value "final"];
      fhir:DocumentReference.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1" ];
           fhir:Coding.code [ fhir:value "100.16650" ];
           fhir:Coding.display [ fhir:value "Pharmaceutical Benefits Report" ]     ]
      ];
      fhir:DocumentReference.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1" ];
           fhir:Coding.code [ fhir:value "100.16650" ];
           fhir:Coding.display [ fhir:value "Pharmaceutical Benefits Report" ]     ]
      ];
      fhir:DocumentReference.subject [
         fhir:Reference.reference [ fhir:value "Patient/mhr-field-sally" ];
         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: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 "8003608833357361" ]     ]
      ];
      fhir:DocumentReference.date [ fhir:value "2020-02-17T01:02:00+10:00"^^xsd:dateTime];
      fhir:DocumentReference.author [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Device/medicare-rs-01" ]
      ];
      fhir:DocumentReference.custodian [
         fhir:Reference.reference [ fhir:value "Organization/medicare-rs-operator" ]
      ];
      fhir:DocumentReference.content [
         fhir:index 0;
         fhir:DocumentReference.content.attachment [
           fhir:Attachment.language [ fhir:value "en-AU" ];
           fhir:Attachment.url [ fhir:value "http://example.org/mhr/xds/mhd/Binary/9637211e-26e0-4374-ab6c-ed36c76132c8" ]     ]
      ];
      fhir:DocumentReference.context [
         fhir:DocumentReference.context.sourcePatientInfo [
           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 "8003608000228437" ]       ]     ];
         fhir:DocumentReference.context.related [
           fhir:index 0;
           fhir:link <http://example.org/mhr/xds/mhd/ExplanationOfBenefit/73f7a30b-add3-4673-a4e9-65b0d8670a36>;
           fhir:Reference.reference [ fhir:value "http://example.org/mhr/xds/mhd/ExplanationOfBenefit/73f7a30b-add3-4673-a4e9-65b0d8670a36" ];
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
             fhir:Identifier.value [ fhir:value "urn:uuid:73f7a30b-add3-4673-a4e9-65b0d8670a36" ]       ]     ]
      ].

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

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