R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Medication/med0323 (Turtle)

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

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

Compounded Preparation - Hand Sanitizer - includes qs Ingredient strength

@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:id [ fhir:v "med0323"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Medication</b><a name=\"med0323\"> </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 &quot;med0323&quot; </p></div><p><b>code</b>: WHO Hand Sanitizer Formulation 1% - 10L <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>doseForm</b>: Solution (basic dose form) (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#739006009)</span></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a name=\"sub10\"> </a><blockquote><p/><p><a name=\"sub10\"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Ethanol (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#419442005)</span></td></tr></table></blockquote></td></tr></table><p><b>strength</b>: 8333 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mL = 'mL')</span></p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a name=\"sub11\"> </a><blockquote><p/><p><a name=\"sub11\"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Hydrogen peroxide (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#387171003)</span></td></tr></table></blockquote></td></tr></table><p><b>strength</b>: 417 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mL = 'mL')</span></p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a name=\"sub12\"> </a><blockquote><p/><p><a name=\"sub12\"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Glycerol (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#80582002)</span></td></tr></table></blockquote></td></tr></table><p><b>strength</b>: 145 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mL = 'mL')</span></p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a name=\"sub13\"> </a><blockquote><p/><p><a name=\"sub13\"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Distilled Water (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#444883009)</span></td></tr></table></blockquote></td></tr></table><p><b>strength</b>: QS <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-medication-ingredientstrength.html\">Medication Ingredient Strength Codes</a>#qs)</span></p></blockquote></div>"
  ] ; # 
  fhir:contained ( [
     a fhir:Substance ;
     fhir:id [ fhir:v "sub10" ] ;
     fhir:instance [ fhir:v "false"^^xsd:boolean ] ;
     fhir:code [
       fhir:concept [
         fhir:coding ( [
           a sct:419442005 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "419442005" ] ;
           fhir:display [ fhir:v "Ethanol (substance)" ]
         ] )
       ]
     ]
  ] [
     a fhir:Substance ;
     fhir:id [ fhir:v "sub11" ] ;
     fhir:instance [ fhir:v "false"^^xsd:boolean ] ;
     fhir:code [
       fhir:concept [
         fhir:coding ( [
           a sct:387171003 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "387171003" ] ;
           fhir:display [ fhir:v "Hydrogen peroxide (substance)" ]
         ] )
       ]
     ]
  ] [
     a fhir:Substance ;
     fhir:id [ fhir:v "sub12" ] ;
     fhir:instance [ fhir:v "false"^^xsd:boolean ] ;
     fhir:code [
       fhir:concept [
         fhir:coding ( [
           a sct:80582002 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "80582002" ] ;
           fhir:display [ fhir:v "Glycerol (substance)" ]
         ] )
       ]
     ]
  ] [
     a fhir:Substance ;
     fhir:id [ fhir:v "sub13" ] ;
     fhir:instance [ fhir:v "false"^^xsd:boolean ] ;
     fhir:code [
       fhir:concept [
         fhir:coding ( [
           a sct:444883009 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "444883009" ] ;
           fhir:display [ fhir:v "Distilled Water (substance)" ]
         ] )
       ]
     ]
  ] ) ; # 
  fhir:code [
     fhir:text [ fhir:v "WHO Hand Sanitizer Formulation 1% - 10L" ]
  ] ; # 
  fhir:doseForm [
     fhir:coding ( [
       a sct:739006009 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "739006009" ] ;
       fhir:display [ fhir:v "Solution (basic dose form) (qualifier value)" ]
     ] )
  ] ; # 
  fhir:ingredient ( [
     fhir:item [
       fhir:reference [
         fhir:reference [ fhir:v "#sub10" ]
       ]
     ] ;
     fhir:strength [
       a fhir:Quantity ;
       fhir:value [ fhir:v "8333"^^xsd:decimal ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "mL" ]
     ]
  ] [
     fhir:item [
       fhir:reference [
         fhir:reference [ fhir:v "#sub11" ]
       ]
     ] ;
     fhir:strength [
       a fhir:Quantity ;
       fhir:value [ fhir:v "417"^^xsd:decimal ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "mL" ]
     ]
  ] [
     fhir:item [
       fhir:reference [
         fhir:reference [ fhir:v "#sub12" ]
       ]
     ] ;
     fhir:strength [
       a fhir:Quantity ;
       fhir:value [ fhir:v "145"^^xsd:decimal ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "mL" ]
     ]
  ] [
     fhir:item [
       fhir:reference [
         fhir:reference [ fhir:v "#sub13" ]
       ]
     ] ;
     fhir:strength [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://hl7.org/fhir/CodeSystem/medication-ingredientstrength"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "qs" ] ;
         fhir:display [ fhir:v "QS" ]
       ] )
     ]
  ] )] . # 

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


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.