FHIR Release 3 (STU)

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

Medicationexample0317.ttl

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

Raw Turtle, JSON-LD

Compounded Preparation - KCl in D5W Admixture - 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/med0317> a fhir:Medication;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "med0317"];
  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>: med0317</p><p><b>isBrand</b>: false</p><p><b>form</b>: Injection Solution (qualifier value) <span>(Details : {SNOMED CT code '385219001' = 'Injection solution', given as 'Injection Solution (qualifier value)'})</span></p><blockquote><p><b>ingredient</b></p><p><b>item</b>: Potassium Chloride <span>(Details : {RxNorm code '204520' = '204520', given as 'Potassium Chloride'})</span></p><p><b>amount</b>: 2 mEq<span> (Details: UCUM code mEq = 'mEq')</span>/1 mL<span> (Details: UCUM code mL = 'mL')</span></p></blockquote><blockquote><p><b>ingredient</b></p><p><b>item</b>: Sodium Chloride 0.9% injectable solution <span>(Details : {RxNorm code '313002' = '313002', given as 'Sodium Chloride 0.9% injectable solution'})</span></p><p><b>amount</b>: 0.9 g<span> (Details: UCUM code g = 'g')</span>/100 mL<span> (Details: UCUM code mL = 'mL')</span></p></blockquote></div>"
  ];
  fhir:Medication.isBrand [ fhir:value "false"^^xsd:boolean];
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:385219001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "385219001" ];
       fhir:Coding.display [ fhir:value "Injection Solution (qualifier value)" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Injection Solution (qualifier value)" ]
  ];
  fhir:Medication.ingredient [
     fhir:index 0;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
         fhir:Coding.code [ fhir:value "204520" ];
         fhir:Coding.display [ fhir:value "Potassium Chloride" ]
       ]
     ];
     fhir:Medication.ingredient.amount [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mEq" ]
       ];
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mL" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
         fhir:Coding.code [ fhir:value "313002" ];
         fhir:Coding.display [ fhir:value "Sodium Chloride 0.9% injectable solution" ]
       ]
     ];
     fhir:Medication.ingredient.amount [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "0.9"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "g" ]
       ];
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mL" ]
       ]
     ]
  ] .

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

<http://hl7.org/fhir/Medication/med0317.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/Medication/med0317.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.