# Common Components FHIR Implementation Guide

26.0.0 - Trial

Common Components FHIR Implementation Guide, published by Australian Digital Health Agency. This guide is not an authorized publication; it is the continuous build for version 26.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/AuDigitalHealth/common-components/ and changes regularly. See the Directory of published versions

## : MedicationRequest CDA Extensions Example - TTL Representation

Raw ttl | Download

    @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 -------------------------------------------------------------------

    <http://hl7.org/fhir/MedicationRequest/medicationrequest-cda-extensions-example> a fhir:MedicationRequest ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "medicationrequest-cda-extensions-example"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest medicationrequest-cda-extensions-example</b></p><a name=\"medicationrequest-cda-extensions-example\"> </a><a name=\"hcmedicationrequest-cda-extensions-example\"> </a><p><b>Source CDA Document Identifier</b>: CDA Instance Identifier/urn:oid:2.25.119743254367089612530986407591263451023</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title=\"Codes:{http://snomed.info/sct 27437011000036101}, {http://pbs.gov.au/code/item 8214H}\">Lipitor 20 mg tablet, 30</span></p><p><b>subject</b>: Example Patient</p><p><b>authoredOn</b>: 2026-05-15</p><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>5</td><td>30 tablet</td></tr></table></div>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://digitalhealth.gov.au/fhir/cc/StructureDefinition/source-cda-document-identifier" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "http://digitalhealth.gov.au/fhir/cc/CodeSystem/identifier-type-cs" ] ;
               fhir:Coding.code [ fhir:value "CDII" ] ;
               fhir:Coding.display [ fhir:value "CDA Instance Identifier" ]
             ]
           ] ;
           fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
           fhir:Identifier.value [ fhir:value "urn:oid:2.25.119743254367089612530986407591263451023" ] ;
           fhir:Identifier.assigner [
             fhir:Reference.identifier [
               fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
               fhir:Identifier.value [ fhir:value "urn:oid:1.2.36.1.2001.1007.10.8003640002000050" ]
             ] ;
             fhir:Reference.display [ fhir:value "PCEHR Assigned Identifier - Repository" ]
           ]
         ]
      ] ;
      fhir:MedicationRequest.status [ fhir:value "active"] ;
      fhir:MedicationRequest.intent [ fhir:value "order"] ;
      fhir:MedicationRequest.medicationCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a sct:27437011000036101 ;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
           fhir:Coding.code [ fhir:value "27437011000036101" ] ;
           fhir:Coding.display [ fhir:value "Atorvastatin 20 mg tablet, 30" ]
         ], [
           fhir:index 1 ;
           fhir:Coding.system [ fhir:value "http://pbs.gov.au/code/item" ] ;
           fhir:Coding.code [ fhir:value "8214H" ] ;
           fhir:Coding.display [ fhir:value "LIPITOR atorvastatin 20 mg tablet, 30" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "Lipitor 20 mg tablet, 30" ]
      ] ;
      fhir:MedicationRequest.subject [
         fhir:Reference.display [ fhir:value "Example Patient" ]
      ] ;
      fhir:MedicationRequest.authoredOn [ fhir:value "2026-05-15"^^xsd:date] ;
      fhir:MedicationRequest.dispenseRequest [
         fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "5"^^xsd:nonNegativeInteger ] ;
         fhir:MedicationRequest.dispenseRequest.quantity [
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-quantity-description" ] ;
             fhir:Extension.valueString [ fhir:value "30 tablets (1 commercial pack)" ]
           ] ;
           fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ] ;
           fhir:Quantity.unit [ fhir:value "tablet" ]
         ]
      ] .

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

    <http://hl7.org/fhir/MedicationRequest/medicationrequest-cda-extensions-example.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/MedicationRequest/medicationrequest-cda-extensions-example.ttl> .