R6 Ballot (2nd Draft)

Publish-box (todo)

Example Medication/med0319 (Turtle)

Pharmacy Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Compounded Preparation - HC 1%, Salicylic Acid 5% in Glaxal Base - 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 -------------------------------------------------------------------

[a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "med0319"] ; # 
  fhir:doseForm [
     fhir:coding ( [
       a sct:385101003 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "385101003" ] ;
       fhir:display [ fhir:v "Ointment" ]
     ] ) ;
     fhir:text [ fhir:v "Ointment" ]
  ] ; # 
  fhir:ingredient ( [
     fhir:item [
       fhir:concept [
         fhir:coding ( [
           a sct:387253001 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "387253001" ] ;
           fhir:display [ fhir:v "Salicylic Acid (substance)" ]
         ] )
       ]
     ] ;
     fhir:strength [
       a fhir:Ratio ;
       fhir:numerator [
         fhir:value [ fhir:v "5"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ] ;
       fhir:denominator [
         fhir:value [ fhir:v "100"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ]
     ]
  ] [
     fhir:item [
       fhir:concept [
         fhir:coding ( [
           a sct:396458002 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "396458002" ] ;
           fhir:display [ fhir:v "Hydrocortisone (substance)" ]
         ] )
       ]
     ] ;
     fhir:strength [
       a fhir:Ratio ;
       fhir:numerator [
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ] ;
       fhir:denominator [
         fhir:value [ fhir:v "100"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ]
     ]
  ] [
     fhir:item [
       fhir:concept [
         fhir:coding ( [
           a sct:126066007 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "126066007" ] ;
           fhir:display [ fhir:v "White petroleum (substance)" ]
         ] )
       ]
     ] ;
     fhir:strength [
       a fhir:Ratio ;
       fhir:numerator [
         fhir:value [ fhir:v "94"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ] ;
       fhir:denominator [
         fhir:value [ fhir:v "100"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "g" ]
       ]
     ]
  ] )] . # 

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


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.