| 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: MedicationRequest-claim-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:MedicationRequest;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "claim-pbs-02"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-medicationrequest-pbs-claim-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-medicationrequest-pbs-claim-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: MedicationRequest</b><a name=\"claim-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 MedicationRequest &quot;claim-pbs-02&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-medicationrequest-pbs-claim-1.html\">ADHA PBS Claim Item</a></p></div><p><b>identifier</b>: id: urn:uuid:73f7a30b-add3-4673-a4e9-65b0d8670a36</p><p><b>status</b>: unknown</p><p><b>intent</b>: order</p><p><b>medication</b>: <a href=\"Medication-cephalexin-01.html\">Medication/cephalexin-01</a></p><p><b>subject</b>: <a href=\"Patient-mhr-field-sally.html\">Patient/mhr-field-sally</a> &quot; FIELD&quot;</p><p><b>authoredOn</b>: 2020-01-15</p><h3>DispenseRequests</h3><table class=\"grid\"><tr><td>-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td>*</td><td>1</td><td>20 capsule</td></tr></table></div>"
      ];
      fhir:MedicationRequest.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:MedicationRequest.status [ fhir:value "unknown"];
      fhir:MedicationRequest.intent [ fhir:value "order"];
      fhir:MedicationRequest.medicationReference [
         fhir:Reference.reference [ fhir:value "Medication/cephalexin-01" ]
      ];
      fhir:MedicationRequest.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:MedicationRequest.authoredOn [ fhir:value "2020-01-15"^^xsd:date];
      fhir:MedicationRequest.dispenseRequest [
         fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:MedicationRequest.dispenseRequest.quantity [
           fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "capsule" ]     ]
      ].

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

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