STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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

Raw Turtle, JSON-LD

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 (product)', given as 'Capecitabine (product)'})</span></p><p><b>isBrand</b>: false</p><blockquote><p><b>product</b></p><p><b>form</b>: Tablet dose form (qualifier value) <span>(Details : {SNOMED CT code '385055001' = 'Tablet dose form (qualifier value)', given as 'Tablet dose form (qualifier value)'})</span></p><h3>Ingredients</h3><table><tr><td>-</td><td><b>Item[x]</b></td><td><b>Amount</b></td></tr><tr><td>*</td><td>id: sub03; Capecitabine (substance) <span>(Details : {SNOMED CT code '386906001' = 'Capecitabine (substance)', given as 'Capecitabine (substance)'})</span></td><td>500 mg<span> (Details: UCUM code mg = 'mg')</span>/1 Tablet dose form (qualifier value)<span> (Details: SNOMED CT code Tablet dose form (qualifier value) = 'Tablet dose form (qualifier value)')</span></td></tr></table></blockquote></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;
         fhir:concept 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;
       fhir:concept 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.isBrand [ fhir:value "false"^^xsd:boolean];
  fhir:Medication.product [
     fhir:Medication.product.form [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept 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.product.ingredient [
       fhir:index 0;
       fhir:Medication.product.ingredient.itemReference [
         fhir:Reference.reference [ fhir:value "#sub03" ]
       ];
       fhir:Medication.product.ingredient.amount [
         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.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Quantity.code [ fhir:value "Tablet dose form (qualifier value)" ]
         ]
       ]
     ]
  ] .

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


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.