| 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-clarithromycin-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 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 "clarithromycin-01"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-medication-core-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-medication-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: Medication</b><a name=\"clarithromycin-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 Medication \"clarithromycin-01\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-medication-core-1.html\">ADHA Core Medication</a></p></div><p><b>code</b>: Clarithromycin 500mg Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#23527011000036104 \"clarithromycin 500 mg tablet\")</span></p><p><b>form</b>: Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>Clarithromycin <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#21836011000036107 \"clarithromycin\")</span></td><td>500 mg/1 unit</td></tr></table></div>"
      ];
      fhir:Medication.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:23527011000036104;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/medication-type" ];
             fhir:Extension.valueCoding [
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org.au/CodeSystem/medication-type" ];
               fhir:Coding.code [ fhir:value "UPDSF" ];
               fhir:Coding.display [ fhir:value "Unbranded product with strengths and form" ]         ]       ];
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "23527011000036104" ];
           fhir:Coding.display [ fhir:value "clarithromycin 500 mg tablet" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Clarithromycin 500mg Tablet" ]
      ];
      fhir:Medication.form [
         fhir:CodeableConcept.text [ fhir:value "Tablet" ]
      ];
      fhir:Medication.ingredient [
         fhir:index 0;
         fhir:Medication.ingredient.itemCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:21836011000036107;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/medication-type" ];
               fhir:Extension.valueCoding [
                 fhir:Coding.system [ fhir:value "http://terminology.hl7.org.au/CodeSystem/medication-type" ];
                 fhir:Coding.code [ fhir:value "UPD" ];
                 fhir:Coding.display [ fhir:value "Unbranded product with no strengths or form" ]           ]         ];
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "21836011000036107" ];
             fhir:Coding.display [ fhir:value "clarithromycin" ]       ];
           fhir:CodeableConcept.text [ fhir:value "Clarithromycin" ]     ];
         fhir:Medication.ingredient.strength [
           fhir:Ratio.numerator [
             fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ];
             fhir:Quantity.unit [ fhir:value "mg" ]       ];
           fhir:Ratio.denominator [
             fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
             fhir:Quantity.unit [ fhir:value "unit" ]       ]     ]
      ].

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

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