@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 -------------------------------------------------------------------

<https://gematik.de/fhir/epa-medication/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d> a fhir:MedicationStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "0fc1f006-5793-4501-81b6-fe3918fcfa2d"] ; # 
  fhir:meta [
     fhir:versionId [ fhir:v "2" ] ;
     fhir:lastUpdated [ fhir:v "2025-12-03T14:00:00.244Z"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"^^xsd:anyURI ;
       fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationStatement 0fc1f006-5793-4501-81b6-fe3918fcfa2d</b></p><a name=\"0fc1f006-5793-4501-81b6-fe3918fcfa2d\"> </a><a name=\"hc0fc1f006-5793-4501-81b6-fe3918fcfa2d\"> </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\">version: 2; Last updated: 2025-12-03 14:00:00+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-epa-medication-statement.html\">EPA MedicationStatement</a></p></div><p><b>RxPrescriptionProcessIdentifierExtension</b>: <code>https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier</code>/160.100.000.000.019.82_20251202</p><p><b>ContextExtension</b>: PRESCRIPTION</p><p><b>status</b>: Unknown</p><p><b>medication</b>: <a href=\"Medication-3f0b0cb0-e8cf-4aaf-bad8-01a51619417b.html\">Medication: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.019.82_20251202,Medicinal product (product) (SNOMED CT#763158003),Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt (Drug Category Code System for ePA#00),N3,false; identifier = https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier#6E36794F8327D7B96B74DC7E29FFCB49CC2CD859EBB58251DC1FB4456BEF92A9,https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#48de03e7-84f3-4724-830e-5aabca10dfa8_160.100.000.000.019.82; status = active; form = ; amount = ? Stück / 1</a></p><p><b>subject</b>: Identifier: NamingSystemKVID/X110411319</p><p><b>effective</b>: 2025-12-03 --&gt; (ongoing)</p><p><b>dateAsserted</b>: 2025-12-02</p><p><b>derivedFrom</b>: </p><ul><li><a href=\"MedicationRequest-0e7f16e4-d879-4a2c-8292-41c55201bbdd.html\">MedicationRequest: extension = ; identifier = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.019.82_20251202,https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#b7791120-8913-47d4-acd0-9ae633f6d6c0_160.100.000.000.019.82; status = completed; intent = filler-order; medication[x] = -&gt;Medication: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.019.82_20251202,Medicinal product (product) (SNOMED CT#763158003),Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt (Drug Category Code System for ePA#00),N3,false; identifier = https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier#6E36794F8327D7B96B74DC7E29FFCB49CC2CD859EBB58251DC1FB4456BEF92A9,https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#48de03e7-84f3-4724-830e-5aabca10dfa8_160.100.000.000.019.82; status = active; form = ; amount = ? Stück / 1; authoredOn = 2025-12-02</a></li><li><a href=\"MedicationDispense-5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad.html\">MedicationDispense: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.019.82_20251202; identifier = https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#ad9696d3-bc6b-4033-bdd7-14b934dc4426_160.100.000.000.019.82; status = completed; medication[x] = -&gt;Medication: extension = https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier#160.100.000.000.019.82_20251202,Medicinal product (product) (SNOMED CT#763158003),Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt (Drug Category Code System for ePA#00),N3,false; identifier = https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier#6E36794F8327D7B96B74DC7E29FFCB49CC2CD859EBB58251DC1FB4456BEF92A9,https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier#48de03e7-84f3-4724-830e-5aabca10dfa8_160.100.000.000.019.82; status = active; form = ; amount = ? Stück / 1; whenHandedOver = 2025-12-03</a></li></ul><blockquote><p><b>dosage</b></p><blockquote><p><b>Generated Dosage Instructions</b></p><ul><li>algorithm: <a href=\"http://ig.fhir.de/igs/medication/1.0.0-ballot/CodeSystem-DosageTextAlgorithm.html#DosageTextAlgorithm-GematikDosageTextGenerator\">Dosage Text Algorithm CodeSystem GematikDosageTextGenerator</a>: Gematik Dosage Text Generator (version = 1.0.0 )</li><li>algorithmVersion: 1.0.0</li><li>language: de-DE</li><li>text: täglich: morgens — je 1 Stück</li></ul></blockquote><p><b>timing</b>: Morning, 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></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "160.100.000.000.019.82_20251202" ]
     ]
  ] [
     fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "PRESCRIPTION"
     ]
  ] ) ; # 
  fhir:status [ fhir:v "unknown"] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:link <https://gematik.de/fhir/epa-medication/Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b> ;
     fhir:reference [ fhir:v "Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b" ]
  ] ; # 
  fhir:subject [
     fhir:identifier [
       fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "X110411319" ]
     ]
  ] ; # 
  fhir:effective [
     a fhir:Period ;
     fhir:start [ fhir:v "2025-12-03"^^xsd:date ]
  ] ; # 
  fhir:dateAsserted [ fhir:v "2025-12-02"^^xsd:date] ; # 
  fhir:derivedFrom ( [
     fhir:link <https://gematik.de/fhir/epa-medication/MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd> ;
     fhir:reference [ fhir:v "MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd" ]
  ] [
     fhir:link <https://gematik.de/fhir/epa-medication/MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad> ;
     fhir:reference [ fhir:v "MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad" ]
  ] ) ; # 
  fhir:dosage ( [
     fhir:extension ( [
       fhir:extension ( [
         fhir:url [ fhir:v "algorithm"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:Coding ;
           fhir:system [ fhir:v "http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm"^^xsd:anyURI ] ;
           fhir:version [ fhir:v "1.0.0" ] ;
           fhir:code [ fhir:v "GematikDosageTextGenerator" ]
         ]
       ] [
         fhir:url [ fhir:v "algorithmVersion"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:string ;
           fhir:v "1.0.0"
         ]
       ] [
         fhir:url [ fhir:v "language"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:code ;
           fhir:v "de-DE"
         ]
       ] [
         fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:string ;
           fhir:v "täglich: morgens — je 1 Stück"
         ]
       ] ) ;
       fhir:url [ fhir:v "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions"^^xsd:anyURI ]
     ] ) ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ] ;
         fhir:when ( [ fhir:v "MORN" ] )
       ]
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "Stück" ] ;
         fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

