@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://ig.fhir.de/igs/medication/MedicationStatement/MS-Dosage-TimeOfDay> a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MS-Dosage-TimeOfDay"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/MedicationStatementDgMP"^^xsd:anyURI ;
       fhir:l <http://ig.fhir.de/igs/medication/StructureDefinition/MedicationStatementDgMP>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationStatement MS-Dosage-TimeOfDay</b></p><a name=\"MS-Dosage-TimeOfDay\"> </a><a name=\"hcMS-Dosage-TimeOfDay\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-MedicationStatementDgMP.html\">Medication Statement dgMP</a></p></div><p><b>status</b>: Active</p><p><b>medication</b>: <span title=\"Codes:\">Test Medication</span></p><p><b>subject</b>: Patient</p><blockquote><p><b>dosage</b></p><p><b>timing</b>: Once per 1 day</p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>2 Stück<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></td></tr></table></blockquote><blockquote><p><b>dosage</b></p><p><b>timing</b>: Once per 1 day</p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1 Stück<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:text [ fhir:v "Test Medication" ]
  ] ; # 
  fhir:subject [
     fhir:display [ fhir:v "Patient" ]
  ] ; # 
  fhir:dosage ( [
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ] ;
         fhir:timeOfDay ( [ fhir:v "08:00:00"^^xsd:time ] )
       ]
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "2"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "Stück" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "1" ]
       ]
     ] )
  ] [
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ] ;
         fhir:timeOfDay ( [ fhir:v "20:00:00"^^xsd:time ] )
       ]
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "Stück" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "1" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

