@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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/med0320> a fhir:Medication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "med0320"] ; # 
  fhir:contained ( [
     a fhir:Substance ;
     fhir:id [ fhir:v "sub03" ] ;
     fhir:code [
       fhir:concept [
         fhir:coding ( [
           a sct:387531004 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           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:l <http://snomed.info/sct>
       ] ;
       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:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "385055001" ] ;
       fhir:display [ fhir:v "Tablet (basic dose form)" ]
     ] )
  ] ; # 
  fhir:ingredient ( [
     fhir:item [
       fhir:reference [
         fhir:l <#sub03> ;
         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:l <http://unitsofmeasure.org>
         ] ;
         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:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
         ] ;
         fhir:code [ fhir:v "TAB" ]
       ]
     ]
  ] ) . # 

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

