| 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: DocumentReference-pbs-01

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-01"];
      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-01\"> </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 \"pbs-01\" </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:296dcbd7-d763-4ecf-aa78-523bcc11ecda</p><p><b>identifier</b>: id: urn:uuid:296dcbd7-d763-4ecf-aa78-523bcc11ecda</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> \" FIELD\"</p><p><b>date</b>: 17 Jan 2020, 1:02:00 am</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> \"Medicare Australia repository services operator\"</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/410c587c-7a39-4605-904b-cd9171a27f14\">http://example.org/mhr/xds/mhd/Binary/410c587c-7a39-4605-904b-cd9171a27f14</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></span></td><td><a href=\"http://example.org/mhr/xds/mhd/ExplanationOfBenefit/296dcbd7-d763-4ecf-aa78-523bcc11ecda\">http://example.org/mhr/xds/mhd/ExplanationOfBenefit/296dcbd7-d763-4ecf-aa78-523bcc11ecda</a></td></tr></table></div>"
      ];
      fhir:DocumentReference.masterIdentifier [
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
         fhir:Identifier.value [ fhir:value "urn:uuid:296dcbd7-d763-4ecf-aa78-523bcc11ecda" ]
      ];
      fhir:DocumentReference.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
         fhir:Identifier.value [ fhir:value "urn:uuid:296dcbd7-d763-4ecf-aa78-523bcc11ecda" ]
      ];
      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-01-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/410c587c-7a39-4605-904b-cd9171a27f14" ]     ]
      ];
      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/296dcbd7-d763-4ecf-aa78-523bcc11ecda>;
           fhir:Reference.reference [ fhir:value "http://example.org/mhr/xds/mhd/ExplanationOfBenefit/296dcbd7-d763-4ecf-aa78-523bcc11ecda" ];
           fhir:Reference.identifier [
             fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
             fhir:Identifier.value [ fhir:value "urn:uuid:296dcbd7-d763-4ecf-aa78-523bcc11ecda" ]       ]     ]
      ].

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

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