@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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/INV-C-TimingOnlyOneType-Statement-03-of-13> a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "INV-C-TimingOnlyOneType-Statement-03-of-13"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/MedicationStatementDgMP" ;
       fhir:index 0 ;
       fhir:link <http://ig.fhir.de/igs/medication/StructureDefinition/MedicationStatementDgMP>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationStatement INV-C-TimingOnlyOneType-Statement-03-of-13</b></p><a name=\"INV-C-TimingOnlyOneType-Statement-03-of-13\"> </a><a name=\"hcINV-C-TimingOnlyOneType-Statement-03-of-13\"> </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>R5: Full representation of the dosage instructions (new)</b>: </p><div><p>täglich: 07:00 Uhr — je 1 Stück</p>\n</div><blockquote><p><b>Generated Dosage Instructions Meta</b></p><ul><li>algorithmVersion: 1.1.0-beta-1</li><li>language: de-DE</li></ul></blockquote><p><b>status</b>: Active</p><p><b>medication</b>: <span title=\"Codes:\">DEV Medication</span></p><p><b>subject</b>: DEV Dosage</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>1 Stück<span style=\"background: LightGoldenRodYellow\"> (Details: KBV_CS_SFHIR_BMP_DOSIEREINHEIT  code1 = '1')</span></td></tr></table></blockquote><blockquote><p><b>dosage</b></p><p><b>timing</b>: Once per 1 week</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: KBV_CS_SFHIR_BMP_DOSIEREINHEIT  code1 = '1')</span></td></tr></table></blockquote></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction" ] ;
     fhir:Extension.valueMarkdown [ fhir:value "täglich: 07:00 Uhr — je 1 Stück" ]
  ], [
     fhir:index 1 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
       fhir:Extension.valueString [ fhir:value "1.1.0-beta-1" ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "language" ] ;
       fhir:Extension.valueCode [ fhir:value "de-DE" ]
     ] ;
     fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
  ] ;
  fhir:MedicationStatement.status [ fhir:value "active"] ;
  fhir:MedicationStatement.medicationCodeableConcept [
     fhir:CodeableConcept.text [ fhir:value "DEV Medication" ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:Reference.display [ fhir:value "DEV Dosage" ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
         fhir:Timing.repeat.timeOfDay [
           fhir:value "07:00:00"^^xsd:time ;
           fhir:index 0
         ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Stück" ] ;
         fhir:Quantity.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" ] ;
         fhir:Quantity.code [ fhir:value "1" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "wk" ] ;
         fhir:Timing.repeat.dayOfWeek [
           fhir:value "fri" ;
           fhir:index 0
         ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Stück" ] ;
         fhir:Quantity.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT" ] ;
         fhir:Quantity.code [ fhir:value "1" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://ig.fhir.de/igs/medication/MedicationStatement/INV-C-TimingOnlyOneType-Statement-03-of-13.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

