@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 -------------------------------------------------------------------

<https://gematik.de/fhir/isik/MedicationStatement/ExampleISiKMedikationsInformation1> a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleISiKMedikationsInformation1"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsInformation" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsInformation>
     ]
  ] ;
  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 ExampleISiKMedikationsInformation1</b></p><a name=\"ExampleISiKMedikationsInformation1\"> </a><a name=\"hcExampleISiKMedikationsInformation1\"> </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-ISiKMedikationsInformation.html\">ISiKMedikationsInformation</a></p></div><p><b>ISiK Accepted Risk</b>: Erhöhtes Blutungsrisiko ist in diesem Fall vertretbar.</p><p><b>ISiK Medikationsart</b>: <a href=\"CodeSystem-ISiKMedikationsartCS.html#ISiKMedikationsartCS-akut\">ISiK Medikationsart: akut</a> (Akutmedikation)</p><p><b>ISiK Selbstmedikation</b>: true</p><p><b>ISiK Behandlungsziel</b>: Schmerztherapie postoperativ</p><p><b>status</b>: Active</p><p><b>medication</b>: <a href=\"Medication-ExampleISiKMedikament1.html\">Medication Acetylcystein</a></p><p><b>subject</b>: <a href=\"Patient-PatientinMusterfrau.html\">Erika Fürstin von Musterfrau (official) Female, DoB: 1964-08-12 ( Private Krankenversicherung (use: secondary, ))</a></p><p><b>context</b>: <a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.6.0&amp;canonical=http://fhir.org/packages/de.basisprofil.r4/Encounter/FachabteilungskontaktMinimal\">Encounter/FachabteilungskontaktMinimal</a></p><p><b>effective</b>: 2021-07-01 --&gt; (ongoing)</p><p><b>dateAsserted</b>: 2021-07-01</p><p><b>reasonReference</b>: <a href=\"Condition-BehandlungsDiagnoseFreitext.html\">Condition </a></p><blockquote><p><b>dosage</b></p><p><b>timing</b>: Morning, Noon, Evening, Once</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 Brausetablette<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></td></tr></table></blockquote></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKAcceptedRisk" ] ;
     fhir:Extension.valueString [ fhir:value "Erhöhtes Blutungsrisiko ist in diesem Fall vertretbar." ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKMedikationsart" ] ;
     fhir:Extension.valueCoding [
       fhir:Coding.system [ fhir:value "https://gematik.de/fhir/isik/CodeSystem/ISiKMedikationsartCS" ] ;
       fhir:Coding.code [ fhir:value "akut" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKSelbstmedikation" ] ;
     fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
  ], [
     fhir:index 3 ;
     fhir:Extension.url [ fhir:value "https://gematik.de/fhir/isik/StructureDefinition/ExtensionISiKBehandlungsziel" ] ;
     fhir:Extension.valueString [ fhir:value "Schmerztherapie postoperativ" ]
  ] ;
  fhir:MedicationStatement.status [ fhir:value "active"] ;
  fhir:MedicationStatement.medicationReference [
     fhir:link <https://gematik.de/fhir/isik/Medication/ExampleISiKMedikament1> ;
     fhir:Reference.reference [ fhir:value "Medication/ExampleISiKMedikament1" ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:link <https://gematik.de/fhir/isik/Patient/PatientinMusterfrau> ;
     fhir:Reference.reference [ fhir:value "Patient/PatientinMusterfrau" ]
  ] ;
  fhir:MedicationStatement.context [
     fhir:link <https://gematik.de/fhir/isik/Encounter/FachabteilungskontaktMinimal> ;
     fhir:Reference.reference [ fhir:value "Encounter/FachabteilungskontaktMinimal" ]
  ] ;
  fhir:MedicationStatement.effectivePeriod [
     fhir:Period.start [ fhir:value "2021-07-01"^^xsd:date ]
  ] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2021-07-01"^^xsd:date] ;
  fhir:MedicationStatement.reasonReference [
     fhir:index 0 ;
     fhir:link <https://gematik.de/fhir/isik/Condition/BehandlungsDiagnoseFreitext> ;
     fhir:Reference.reference [ fhir:value "Condition/BehandlungsDiagnoseFreitext" ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.when [
           fhir:value "MORN" ;
           fhir:index 0
         ], [
           fhir:value "NOON" ;
           fhir:index 1
         ], [
           fhir:value "EVE" ;
           fhir:index 2
         ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Brausetablette" ] ;
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
         fhir:Quantity.code [ fhir:value "1" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://gematik.de/fhir/isik/MedicationStatement/ExampleISiKMedikationsInformation1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

