| 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: Medication-paracetamol-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:Medication;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "paracetamol-02"];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Medication</b><a name=\"paracetamol-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 Medication \"paracetamol-02\" </p></div><p><b>Medication Brand Name</b>: Panadol Osteo</p><p><b>Medication Generic Drug Name</b>: Paracetamol 665mg tablet</p><p><b>code</b>: Paracetamol 665mg tablet; Panadol Osteo <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#22075011000036103 \"paracetamol 665 mg modified release tablet\"; <a href=\"http://hl7.org.au/fhir/4.0.0/CodeSystem-pbs-item-external.html\">PBS Item Codes</a>#8814X \"paracetamol 665 mg modified release tablet, 96\")</span></p><p><b>form</b>: modified release tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#261011000036101)</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td>-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td>*</td><td>Paracetamol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#21433011000036107)</span></td><td>665 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span>/1</td></tr></table></div>"
      ];
      fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name" ];
         fhir:Extension.valueString [ fhir:value "Panadol Osteo" ]
      ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name" ];
         fhir:Extension.valueString [ fhir:value "Paracetamol 665mg tablet" ]
      ];
      fhir:Medication.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:22075011000036103;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "22075011000036103" ];
           fhir:Coding.display [ fhir:value "paracetamol 665 mg modified release tablet" ]     ], [
           fhir:index 1;
           fhir:Coding.system [ fhir:value "http://pbs.gov.au/code/item" ];
           fhir:Coding.code [ fhir:value "8814X" ];
           fhir:Coding.display [ fhir:value "paracetamol 665 mg modified release tablet, 96" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Paracetamol 665mg tablet; Panadol Osteo" ]
      ];
      fhir:Medication.form [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:261011000036101;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "261011000036101" ];
           fhir:Coding.display [ fhir:value "modified release tablet" ]     ]
      ];
      fhir:Medication.ingredient [
         fhir:index 0;
         fhir:Medication.ingredient.itemCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:21433011000036107;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "21433011000036107" ];
             fhir:Coding.display [ fhir:value "Paracetamol" ]       ]     ];
         fhir:Medication.ingredient.strength [
           fhir:Ratio.numerator [
             fhir:Quantity.value [ fhir:value "665"^^xsd:decimal ];
             fhir:Quantity.unit [ fhir:value "mg" ];
             fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
             fhir:Quantity.code [ fhir:value "mg" ]       ];
           fhir:Ratio.denominator [
             fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ]       ]     ]
      ].

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

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