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-atorvastatin-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 "atorvastatin-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 "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Medication</b><a name=\"atorvastatin-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 \"atorvastatin-01\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-medication-core-1.html\">ADHA Core Medication</a></p></div><p><b>Medication Brand Name</b>: LIPITOR</p><p><b>Medication Generic Drug Name</b>: ATORVASTATIN</p><p><b>code</b>: 35681000036100 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#35681000036100)</span></p><p><b>form</b>: TAB <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>atorvastatin <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td><td>10 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span>/1 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span></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 "LIPITOR" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name" ];
     fhir:Extension.valueString [ fhir:value "ATORVASTATIN" ]
  ];
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:35681000036100;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "35681000036100" ]     ]
  ];
  fhir:Medication.form [
     fhir:CodeableConcept.text [ fhir:value "TAB" ]
  ];
  fhir:Medication.ingredient [
     fhir:index 0;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "atorvastatin" ]     ];
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "10"^^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 ];
         fhir:Quantity.unit [ fhir:value "mg" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mg" ]       ]     ]
  ].

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

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