@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/eps/MedicationStatement/635c4921-5fcb-4ce7-b6ef-d866b680ad01> a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "635c4921-5fcb-4ce7-b6ef-d866b680ad01"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/MedicationStatement-eu-eps"^^xsd:anyURI ;
       fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/MedicationStatement-eu-eps>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Simvastatin 10 mg oral tablet</td><td><span class=\"nb\">2025-07-15</span></td><td>Oral tablet</td><td>1 tablet (10 mg) by mouth once daily</td><td>Hyperlipidemia</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:l <urn:uuid:ccd55d45-87b7-43e7-bad3-29771293c8cc> ;
     fhir:reference [ fhir:v "urn:uuid:ccd55d45-87b7-43e7-bad3-29771293c8cc" ] ;
     fhir:display [ fhir:v "Simvastatin 10 mg oral tablet" ]
  ] ; # 
  fhir:subject [
     fhir:l <urn:uuid:f51071b2-6c06-4d31-85ed-26a6b964ef98> ;
     fhir:reference [ fhir:v "urn:uuid:f51071b2-6c06-4d31-85ed-26a6b964ef98" ] ;
     fhir:display [ fhir:v "Petra Schwartz" ]
  ] ; # 
  fhir:effective [
     a fhir:Period ;
     fhir:start [ fhir:v "2025-07-15"^^xsd:date ]
  ] ; # 
  fhir:reasonCode ( [
     fhir:coding ( [
       a sct:55822004 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "55822004" ] ;
       fhir:display [ fhir:v "Hyperlipidemia" ]
     ] )
  ] ) ; # 
  fhir:dosage ( [
     fhir:text [ fhir:v "1 tablet (10 mg) by mouth once daily" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:asNeeded [
       a fhir:Boolean ;
       fhir:v false
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "{tbl}" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "{tbl}" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

