@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 -------------------------------------------------------------------

#   This example where a patient reports is not taking now but will be taking in future   

<http://hl7.org/fhir/MedicationStatement/example007> a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example007"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "med0315" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ;
           fhir:l <http://www.nlm.nih.gov/research/umls/rxnorm>
         ] ;
         fhir:code [ fhir:v "1797865" ] ;
         fhir:display [ fhir:v "mometasone furoate 0.05 MG/ACTUAT Metered Dose Nasal Spray" ]
       ] )
     ] ;
     fhir:doseForm [
       fhir:coding ( [
         a sct:385157007 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "385157007" ] ;
         fhir:display [ fhir:v "Nasal Spray" ]
       ] )
     ]
  ] ) ; # 
  fhir:status [ fhir:v "recorded"] ; # 
  fhir:medication [
     fhir:reference [
       fhir:l <#med0315> ;
       fhir:reference [ fhir:v "#med0315" ]
     ] #   Linked to a RESOURCE Medication  
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/pat1> ;
     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck" ]
  ] ; # 
  fhir:informationSource ( [
     fhir:l <http://hl7.org/fhir/Patient/pat1> ;
     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck" ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "patient plans to start using for seasonal allergies in the Spring when pollen is in the air" ]
  ] ) . # 

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .

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

