Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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</b></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 &quot;med0321&quot; </p></div><p><b>code</b>: Capecitabine (product) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#108761006)</span></p><p><b>form</b>: Tablet dose form (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#385055001)</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><a name=\"sub03\"> </a><blockquote><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 &quot;sub03&quot; </p></div><p><b>code</b>: Capecitabine (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#386906001)</span></p></blockquote></td><td>500 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span>/1 Tablet<span style=\"background: LightGoldenRodYellow\"> (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.