Release 4

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Medicationexample0321.ttl

Pharmacy Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Generic Formulation - Oral Chemotherapy Example - Capecitabine – includes a reference to a substance in the Ingredient element

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Medication/med0321> a fhir:Medication;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "med0321"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: med0321</p><p><b>contained</b>: </p><p><b>code</b>: Capecitabine (product) <span>(Details : {SNOMED CT code '108761006' = 'Capecitabine', given as 'Capecitabine (product)'})</span></p><p><b>form</b>: Tablet dose form (qualifier value) <span>(Details : {SNOMED CT code '385055001' = 'Tablet', given as 'Tablet dose form (qualifier value)'})</span></p><h3>Ingredients</h3><table><tr><td>-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td>*</td><td>id: sub03; Capecitabine (substance) <span>(Details : {SNOMED CT code '386906001' = 'Capecitabine', given as 'Capecitabine (substance)'})</span></td><td>500 mg<span> (Details: UCUM code mg = 'mg')</span>/1 Tablet<span> (Details: SNOMED CT code 385055001 = 'Tablet')</span></td></tr></table></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Substance;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "sub03" ];
     fhir:Substance.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:386906001;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "386906001" ];
         fhir:Coding.display [ fhir:value "Capecitabine (substance)" ]
       ]
     ]
  ];
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:108761006;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "108761006" ];
       fhir:Coding.display [ fhir:value "Capecitabine (product)" ]
     ]
  ];
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:385055001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "385055001" ];
       fhir:Coding.display [ fhir:value "Tablet dose form (qualifier value)" ]
     ]
  ];
  fhir:Medication.ingredient [
     fhir:index 0;
     fhir:Medication.ingredient.itemReference [
       fhir:Reference.reference [ fhir:value "#sub03" ]
     ];
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ];
         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 "Tablet" ];
         fhir:Quantity.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Quantity.code [ fhir:value "385055001" ]
       ]
     ]
  ] .

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

<http://hl7.org/fhir/Medication/med0321.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Medication/med0321.ttl> .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.