| 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-nexium-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 "nexium-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=\"nexium-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 \"nexium-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>: Nexium HP7 20;500;500 (1) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org.au/fhir/4.0.0/CodeSystem-mims-external.html\">Monthly Index of Medical Specialties (MIMS)</a>#70050102; <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-WC.html\">WHO ATC</a>#A02BD \"Combinations for eradication of Helicobacter pylori\"; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#28214011000036106 \"esomeprazole 20 mg enteric tablet [14] (&amp;) amoxicillin 500 mg capsule [28] (&amp;) clarithromycin 500 mg tablet [14], 1 pack\"; <a href=\"http://hl7.org.au/fhir/4.0.0/CodeSystem-pbs-item-external.html\">PBS Item Codes</a>#8738X \"ESOMEPRAZOLE (&amp;) CLARITHROMYCIN (&amp;) AMOXICILLIN\"; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#14207011000036103 \"Nexium Hp7 (14 x Nexium tablets, 28 x Amoxil capsules, 14 x Klacid tablets), 1 pack\")</span></p><p><b>manufacturer</b>: <span>: AstraZeneca Pty Ltd</span></p><p><b>form</b>: Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></div>"
      ];
      fhir:Medication.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://www.mims.com.au/codes" ];
           fhir:Coding.code [ fhir:value "70050102" ];
           fhir:Coding.display [ fhir:value "Nexium HP7 20;500;500 (1)" ]     ], [
           fhir:index 1;
           fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ];
           fhir:Coding.code [ fhir:value "A02BD" ];
           fhir:Coding.display [ fhir:value "Combinations for eradication of Helicobacter pylori" ]     ], [
           fhir:index 2;
           a sct:28214011000036106;
           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 "UPG" ];
               fhir:Coding.display [ fhir:value "Unbranded package with no container" ]         ]       ];
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "28214011000036106" ];
           fhir:Coding.display [ fhir:value "esomeprazole 20 mg enteric tablet [14] (&) amoxicillin 500 mg capsule [28] (&) clarithromycin 500 mg tablet [14], 1 pack" ]     ], [
           fhir:index 3;
           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://pbs.gov.au/code/item" ];
           fhir:Coding.code [ fhir:value "8738X" ];
           fhir:Coding.display [ fhir:value "ESOMEPRAZOLE (&) CLARITHROMYCIN (&) AMOXICILLIN" ]     ], [
           fhir:index 4;
           a sct:14207011000036103;
           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 "BPG" ];
               fhir:Coding.display [ fhir:value "Branded package with no container" ]         ]       ];
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "14207011000036103" ];
           fhir:Coding.display [ fhir:value "Nexium Hp7 (14 x Nexium tablets, 28 x Amoxil capsules, 14 x Klacid tablets), 1 pack" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Nexium HP7 20;500;500 (1)" ]
      ];
      fhir:Medication.manufacturer [
         fhir:Reference.identifier [
           fhir:Identifier.use [ fhir:value "official" ];
           fhir:Identifier.system [ fhir:value "http://pbs.gov.au/identifier/manufacturer" ];
           fhir:Identifier.value [ fhir:value "AP" ]     ];
         fhir:Reference.display [ fhir:value "AstraZeneca Pty Ltd" ]
      ];
      fhir:Medication.form [
         fhir:CodeableConcept.text [ fhir:value "Tablet" ]
      ].

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

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