@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.eu/fhir/base/MedicationStatement/example-medicationstatement-eucore> a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-medicationstatement-eucore"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core"^^xsd:anyURI ;
       fhir:l <http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><strong>Medication:</strong> Enalapril 20mg tablets</p><p><strong>Patient:</strong> Fiona XXX_Swart</p><p><strong>Status:</strong> Active</p><p><strong>Dosage:</strong> Take one tablet daily in the morning (oral route)</p><p><strong>Informant:</strong> Dr. Lukas Müller</p><p><strong>Date Asserted:</strong> 2024-12-01</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [
         fhir:v "http://www.whocc.no/atc"^^xsd:anyURI ;
         fhir:l <http://www.whocc.no/atc>
       ] ;
       fhir:code [ fhir:v "C09AA02" ] ;
       fhir:display [ fhir:v "Enalapril" ]
     ] ) ;
     fhir:text [ fhir:v "Enalapril 20mg tablets" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.eu/fhir/base/Patient/patient-eu-core-example> ;
     fhir:reference [ fhir:v "Patient/patient-eu-core-example" ] ;
     fhir:display [ fhir:v "John Doe" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2024-12-01"^^xsd:date
  ] ; # 
  fhir:dateAsserted [ fhir:v "2024-12-01"^^xsd:date] ; # 
  fhir:informationSource [
     fhir:l <http://hl7.eu/fhir/base/Patient/patient-eu-core-example> ;
     fhir:reference [ fhir:v "Patient/patient-eu-core-example" ] ;
     fhir:display [ fhir:v "Luigi De Luca" ]
  ] ; # 
  fhir:dosage ( [
     fhir:text [ fhir:v "Take one tablet daily in the morning" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         a sct:26643006 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "26643006" ] ;
         fhir:display [ fhir:v "Oral route" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "20"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mg" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "mg" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

