| 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: Medication-esomeprazole-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 "esomeprazole-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=\"esomeprazole-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 &quot;esomeprazole-01&quot; </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>: Esomeprazole 20mg Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#23526011000036102 &quot;esomeprazole 20 mg enteric tablet&quot;)</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>Esomeprazole <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#21697011000036107 &quot;esomeprazole&quot;)</span></td><td>20 mg/1 unit</td></tr></table></div>"
      ];
      fhir:Medication.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:23526011000036102;
           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 "23526011000036102" ];
           fhir:Coding.display [ fhir:value "esomeprazole 20 mg enteric tablet" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Esomeprazole 20mg 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:21697011000036107;
             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 "21697011000036107" ];
             fhir:Coding.display [ fhir:value "esomeprazole" ]       ];
           fhir:CodeableConcept.text [ fhir:value "Esomeprazole" ]     ];
         fhir:Medication.ingredient.strength [
           fhir:Ratio.numerator [
             fhir:Quantity.value [ fhir:value "20"^^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.