R6 Ballot (2nd Draft)

Publish-box (todo)

Example Medication/med0320 (Turtle)

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

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

Generic Formulation - Azithromycin 250mg oral capsule - 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 "med0320"] ; # 
  fhir:contained ( [
     a fhir:Substance ;
     fhir:id [ fhir:v "sub03" ] ;
     fhir:instance [ fhir:v "false"^^xsd:boolean ] ;
     fhir:code [
       fhir:concept [
         fhir:coding ( [
           a sct:387531004 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "387531004" ] ;
           fhir:display [ fhir:v "Azithromycin (substance)" ]
         ] )
       ]
     ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a sct:324252006 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "324252006" ] ;
       fhir:display [ fhir:v "Azithromycin (as azithromycin dihydrate) 250 mg oral capsule" ]
     ] )
  ] ; # 
  fhir:doseForm [
     fhir:coding ( [
       a sct:385055001 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "385055001" ] ;
       fhir:display [ fhir:v "Tablet (basic dose form)" ]
     ] )
  ] ; # 
  fhir:ingredient ( [
     fhir:item [
       fhir:reference [
         fhir:reference [ fhir:v "#sub03" ]
       ]
     ] ;
     fhir:strength [
       a fhir:Ratio ;
       fhir:numerator [
         fhir:value [ fhir:v "250"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "mg" ]
       ] ;
       fhir:denominator [
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "TAB" ]
       ]
     ]
  ] )] . # 

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


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.