Implementation Guide
E-T-Rezept Datenaustausch
Version 1.1.0-ballot-1 - ballot

: Mapping-Bundle - TTL Representation

Raw ttl | Download

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

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Mapping-Bundle"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "https://erp-t-prescription-test.de/MedicationRequest/KBV-TRP-MedicationRequest"^^xsd:anyURI ] ;
    ( fhir:resource <https://erp-t-prescription-test.de/MedicationRequest/KBV-TRP-MedicationRequest> )
  ] [
fhir:fullUrl [ fhir:v "https://erp-t-prescription-test.de/Medication/KBV-TRP-Medication"^^xsd:anyURI ] ;
    ( fhir:resource <https://erp-t-prescription-test.de/Medication/KBV-TRP-Medication> )
  ] [
fhir:fullUrl [ fhir:v "https://erp-t-prescription-test.de/MedicationDispense/GEM-MedicationDispense"^^xsd:anyURI ] ;
    ( fhir:resource <https://erp-t-prescription-test.de/MedicationDispense/GEM-MedicationDispense> )
  ] [
fhir:fullUrl [ fhir:v "https://erp-t-prescription-test.de/Medication/PomalidomidMedication"^^xsd:anyURI ] ;
    ( fhir:resource <https://erp-t-prescription-test.de/Medication/PomalidomidMedication> )
  ] [
fhir:fullUrl [ fhir:v "https://erp-t-prescription-test.de/Task/TaskInClosedState"^^xsd:anyURI ] ;
    ( fhir:resource <https://erp-t-prescription-test.de/Task/TaskInClosedState> )
  ] [
fhir:fullUrl [ fhir:v "https://erp-t-prescription-test.de/Bundle/VZD-SearchSet-Bundle"^^xsd:anyURI ] ;
    ( fhir:resource <https://erp-t-prescription-test.de/Bundle/VZD-SearchSet-Bundle> )
  ] ) . # 

<https://erp-t-prescription-test.de/MedicationRequest/KBV-TRP-MedicationRequest> a fhir:MedicationRequest ;
  fhir:id [ fhir:v "KBV-TRP-MedicationRequest"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.4"^^xsd:anyURI ;
fhir:link <https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.4>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_KBV-TRP-MedicationRequest\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest KBV-TRP-MedicationRequest</b></p><a name=\"KBV-TRP-MedicationRequest\"> </a><a name=\"hcKBV-TRP-MedicationRequest\"> </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=\"https://simplifier.net/resolve?scope=kbv.ita.erp@1.4.0-alpha&amp;canonical=https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription\">KBV_PR_ERP_Prescriptionversion: null1.4.0)</a></p></div><p><b>KBV_EX_FOR_StatusCoPayment</b>: <a href=\"https://simplifier.net/resolve?scope=kbv.ita.erp@1.4.0-alpha&amp;canonical=https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment#KBV-CS-FOR-StatusCoPayment-1\">KBV_CS_FOR_StatusCoPayment 1</a>: von Zuzahlungspflicht befreit / gebührenfrei</p><p><b>KBV_EX_ERP_EmergencyServicesFee</b>: false</p><p><b>KBV_EX_FOR_SER</b>: true</p><blockquote><p><b>KBV_EX_ERP_Multiple_Prescription</b></p><ul><li>Kennzeichen: false</li></ul></blockquote><blockquote><p><b>KBV_EX_ERP_Teratogenic</b></p><ul><li>Off-Label: true</li><li>GebaerfaehigeFrau: false</li><li>EinhaltungSicherheitsmassnahmen: true</li><li>AushaendigungInformationsmaterialien: true</li><li>ErklaerungSachkenntnis: true</li></ul></blockquote><p><b>KBV_EX_ERP_DosageFlag</b>: true</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href=\"Bundle-Mapping-Bundle.html#Medication_KBV-TRP-Medication\">Bundle: type = collection</a></p><p><b>subject</b>: <a href=\"https://simplifier.net/resolve?scope=de.gematik.ti@1.1.0&amp;canonical=https://gematik.de/fhir/ti/30635f5d-c233-4500-94e8-6414940236aa\">30635f5d-c233-4500-94e8-6414940236aa</a></p><p><b>authoredOn</b>: 2025-05-20</p><p><b>requester</b>: <a href=\"https://simplifier.net/resolve?scope=de.gematik.ti@1.1.0&amp;canonical=https://gematik.de/fhir/ti/0c4e1a54-8a42-4d3d-a12c-0bbf2db48570\">0c4e1a54-8a42-4d3d-a12c-0bbf2db48570</a></p><p><b>insurance</b>: <a href=\"https://simplifier.net/resolve?scope=de.gematik.ti@1.1.0&amp;canonical=https://gematik.de/fhir/ti/e51239e1-ba74-48e0-97fb-9754d2b05c60\">e51239e1-ba74-48e0-97fb-9754d2b05c60</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>KBV_EX_ERP_DosageCategory</b>: <a href=\"https://simplifier.net/resolve?scope=kbv.ita.erp@1.4.0-alpha&amp;canonical=https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Dosage_Category#KBV-CS-ERP-Dosage-Category-DAILY_FOUR_SCHEME\">KBV_CS_ERP_Dosage_Category DAILY_FOUR_SCHEME</a>: Strukturierte Dosieranweisung für die tägliche Anwendung mit Tageszeitbezug (Vierer-Schema)</p><p><b>timing</b>: Evening, 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 = 'Stück')</span></td></tr></table></blockquote><blockquote><p><b>dispenseRequest</b></p><p><b>quantity</b>: 1 Packung</p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td></tr><tr><td style=\"display: none\">*</td><td>3</td><td>Woche(n)</td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>true</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ]     ]
  ] [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v false     ]
  ] [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_SER"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true     ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "Kennzeichen"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v false       ]     ] ) ;
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription"^^xsd:anyURI ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "Off-Label"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true       ]     ] [
fhir:url [ fhir:v "GebaerfaehigeFrau"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v false       ]     ] [
fhir:url [ fhir:v "EinhaltungSicherheitsmassnahmen"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true       ]     ] [
fhir:url [ fhir:v "AushaendigungInformationsmaterialien"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true       ]     ] [
fhir:url [ fhir:v "ErklaerungSachkenntnis"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true       ]     ] ) ;
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Teratogenic"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageFlag"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
a fhir:Reference ;
fhir:reference [ fhir:v "Medication/KBV-TRP-Medication" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "30635f5d-c233-4500-94e8-6414940236aa" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2025-05-20"^^xsd:date] ; # 
  fhir:requester [
fhir:reference [ fhir:v "0c4e1a54-8a42-4d3d-a12c-0bbf2db48570" ]
  ] ; # 
  fhir:insurance ( [
fhir:reference [ fhir:v "e51239e1-ba74-48e0-97fb-9754d2b05c60" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
    ( fhir:extension [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_DosageCategory"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Dosage_Category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DAILY_FOUR_SCHEME" ]       ]     ] ) ;
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 "EVE" ] )       ]     ] ;
    ( 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" ]       ]     ] )
  ] ) ; # 
  fhir:dispenseRequest [
fhir:quantity [
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:unit [ fhir:v "Packung" ]     ] ;
fhir:expectedSupplyDuration [
fhir:value [ fhir:v "3"^^xsd:decimal ] ;
fhir:unit [ fhir:v "Woche(n)" ]     ]
  ] ; # 
  fhir:substitution [
fhir:allowed [
a fhir:boolean ;
fhir:v true     ]
  ] . # 

<https://erp-t-prescription-test.de/Medication/KBV-TRP-Medication> a fhir:Medication ;
  fhir:id [ fhir:v "KBV-TRP-Medication"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.4"^^xsd:anyURI ;
fhir:link <https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.4>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_KBV-TRP-Medication\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication KBV-TRP-Medication</b></p><a name=\"KBV-TRP-Medication\"> </a><a name=\"hcKBV-TRP-Medication\"> </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=\"https://simplifier.net/resolve?scope=kbv.ita.erp@1.4.0-alpha&amp;canonical=https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN\">KBV_PR_ERP_Medication_PZNversion: null1.4.0)</a></p></div><p><b>KBV_EX_Base_Medication_Type</b>: <span title=\"Codes:{http://snomed.info/sct 763158003}\">Medicinal product (product)</span></p><p><b>KBV_EX_ERP_Medication_Category</b>: <a href=\"https://simplifier.net/resolve?scope=kbv.ita.erp@1.4.0-alpha&amp;canonical=https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category#KBV-CS-ERP-Medication-Category-02\">KBV_CS_ERP_Medication_Category 02</a>: AMVV § 3a Abs. 1 (Thalidomid o. ä.)</p><p><b>KBV_EX_ERP_Medication_Vaccine</b>: false</p><p><b>ExtensionNormgroesseDeBasis</b>: N1</p><p><b>code</b>: <span title=\"Codes:{http://fhir.de/CodeSystem/ifa/pzn 19201712}\">Pomalidomid Accord 1 mg 21 x 1 Hartkapseln</span></p><p><b>form</b>: <span title=\"Codes:{https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM HKP}\">Hartkapseln</span></p><p><b>amount</b>:  Stück/1</p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Pomalidomid</span></td><td>1 mg/1 Stück</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
a sct:763158003 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:version [ fhir:v "http://snomed.info/sct/11000274103/version/20240515" ] ;
fhir:code [ fhir:v "763158003" ] ;
fhir:display [ fhir:v "Medicinal product (product)" ]       ] )     ]
  ] [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "02" ]     ]
  ] [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v false     ]
  ] [
fhir:url [ fhir:v "http://fhir.de/StructureDefinition/normgroesse"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "N1"     ]
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ] ;
fhir:code [ fhir:v "19201712" ]     ] ) ;
fhir:text [ fhir:v "Pomalidomid Accord 1 mg 21 x 1 Hartkapseln" ]
  ] ; # 
  fhir:form [
    ( fhir:coding [
fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HKP" ]     ] )
  ] ; # 
  fhir:amount [
fhir:numerator [
      ( fhir:extension [
fhir:url [ fhir:v "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "21"         ]       ] ) ;
fhir:unit [ fhir:v "Stück" ]     ] ;
fhir:denominator [
fhir:value [ fhir:v "1"^^xsd:decimal ]     ]
  ] ; # 
  fhir:ingredient ( [
fhir:item [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "Pomalidomid" ]     ] ;
fhir:strength [
fhir:numerator [
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mg" ]       ] ;
fhir:denominator [
fhir:value [ fhir:v "1"^^xsd:decimal ] ;
fhir:unit [ fhir:v "Stück" ]       ]     ]
  ] ) . # 

<https://erp-t-prescription-test.de/MedicationDispense/GEM-MedicationDispense> a fhir:MedicationDispense ;
  fhir:id [ fhir:v "GEM-MedicationDispense"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.5"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.5>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationDispense_GEM-MedicationDispense\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense GEM-MedicationDispense</b></p><a name=\"GEM-MedicationDispense\"> </a><a name=\"hcGEM-MedicationDispense\"> </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=\"https://simplifier.net/resolve?scope=de.gematik.erezept-workflow.r4@1.5.2&amp;canonical=https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense\">Dispensation of the Prescriptionversion: null1.5.2)</a></p></div><p><b>identifier</b>: <code>https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId</code>/160.100.000.000.001.39</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Bundle-Mapping-Bundle.html#Medication_PomalidomidMedication\">Bundle: type = collection</a></p><p><b>subject</b>: Identifier: NamingSystemKVID/X123456789</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td>Identifier: <code>https://gematik.de/fhir/sid/telematik-id</code>/3-SMC-B-Testkarte-883110000095957</td></tr></table><p><b>whenHandedOver</b>: 2026-04-01</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"^^xsd:anyURI ] ;
fhir:value [ fhir:v "160.100.000.000.001.39" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
a fhir:Reference ;
fhir:reference [ fhir:v "Medication/PomalidomidMedication" ]
  ] ; # 
  fhir:subject [
fhir:identifier [
fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
fhir:value [ fhir:v "X123456789" ]     ]
  ] ; # 
  fhir:performer ( [
fhir:actor [
fhir:identifier [
fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
fhir:value [ fhir:v "3-SMC-B-Testkarte-883110000095957" ]       ]     ]
  ] ) ; # 
  fhir:whenHandedOver [ fhir:v "2026-04-01"^^xsd:date] . # 

<https://erp-t-prescription-test.de/Medication/PomalidomidMedication> a fhir:Medication ;
  fhir:id [ fhir:v "PomalidomidMedication"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.5"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.5>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_PomalidomidMedication\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication PomalidomidMedication</b></p><a name=\"PomalidomidMedication\"> </a><a name=\"hcPomalidomidMedication\"> </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=\"https://simplifier.net/resolve?scope=de.gematik.erezept-workflow.r4@1.5.2&amp;canonical=https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication\">Medication for the Dispensation of the Prescriptionversion: null1.5.2)</a></p></div><p><b>DrugCategoryExtension</b>: <a href=\"https://simplifier.net/resolve?scope=de.gematik.epa.medication@1.0.6-2&amp;canonical=https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs#epa-drug-category-cs-02\">ePA Arzneimittelkategorien Code System 02</a>: AMVV § 3a Abs. 1 (Thalidomid o. ä.)</p><p><b>MedicationIsVaccineExtension</b>: false</p><p><b>ExtensionNormgroesseDeBasis</b>: N1</p><p><b>code</b>: <span title=\"Codes:{http://fhir.de/CodeSystem/ifa/pzn 19201712}\">Pomalidomid Accord 1 mg 21 x 1 Hartkapseln</span></p><p><b>form</b>: <span title=\"Codes:{https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM HKP}\">Hartkapseln</span></p><p><b>amount</b>:  Stück/1</p><h3>Batches</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>LotNumber</b></td></tr><tr><td style=\"display: none\">*</td><td>1234567890</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "02" ]     ]
  ] [
fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v false     ]
  ] [
fhir:url [ fhir:v "http://fhir.de/StructureDefinition/normgroesse"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "N1"     ]
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://fhir.de/CodeSystem/ifa/pzn"^^xsd:anyURI ] ;
fhir:code [ fhir:v "19201712" ]     ] ) ;
fhir:text [ fhir:v "Pomalidomid Accord 1 mg 21 x 1 Hartkapseln" ]
  ] ; # 
  fhir:form [
    ( fhir:coding [
fhir:system [ fhir:v "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HKP" ]     ] )
  ] ; # 
  fhir:amount [
fhir:numerator [
      ( fhir:extension [
fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "21"         ]       ] ) ;
fhir:unit [ fhir:v "Stück" ]     ] ;
fhir:denominator [
fhir:value [ fhir:v "1"^^xsd:decimal ]     ]
  ] ; # 
  fhir:batch [
fhir:lotNumber [ fhir:v "1234567890" ]
  ] . # 

<https://erp-t-prescription-test.de/Task/TaskInClosedState> a fhir:Task ;
  fhir:id [ fhir:v "TaskInClosedState"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|1.5"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|1.5>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_TaskInClosedState\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task TaskInClosedState</b></p><a name=\"TaskInClosedState\"> </a><a name=\"hcTaskInClosedState\"> </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=\"https://simplifier.net/resolve?scope=de.gematik.erezept-workflow.r4@1.5.2&amp;canonical=https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task\">Task for Management of ePrescription Workflowversion: null1.5.2)</a></p></div><p><b>GEM_ERP_EX_PrescriptionType</b>: <a href=\"https://simplifier.net/resolve?scope=de.gematik.erezept-workflow.r4@1.5.2&amp;canonical=https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#GEM-ERP-CS-FlowType-166\">CodeSystem of Flowtypes 166</a>: Flowtype für Arzneimittel nach § 3a AMVV</p><p><b>Date of confirmation of the prescription</b>: 2026-04-01</p><p><b>Presciption expiry date</b>: 2026-04-01</p><p><b>identifier</b>: <code>https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId</code>/160.100.000.000.001.39, <code>https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode</code>/777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea</p><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>for</b>: Identifier: NamingSystemKVID/X123456789</p><p><b>authoredOn</b>: 2026-04-01 15:29:00+0000</p><p><b>lastModified</b>: 2026-04-01 16:44:00+0000</p><p><b>performerType</b>: <span title=\"Codes:{https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType urn:oid:1.2.276.0.76.4.54}\">Öffentliche Apotheke</span></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType 1}\">Health Care Provider Prescription</span></p><p><b>value</b>: <a href=\"https://simplifier.net/resolve?scope=de.gematik.ti@1.1.0&amp;canonical=https://gematik.de/fhir/ti/281a985c-f25b-4aae-91a6-41ad744080b0\">281a985c-f25b-4aae-91a6-41ad744080b0</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType 2}\">Patient Confirmation</span></p><p><b>value</b>: <a href=\"https://simplifier.net/resolve?scope=de.gematik.ti@1.1.0&amp;canonical=https://gematik.de/fhir/ti/f8c2298f-7c00-4a68-af29-8a2862d55d43\">f8c2298f-7c00-4a68-af29-8a2862d55d43</a></p></blockquote><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType 3}\">Receipt</span></td><td><a href=\"https://simplifier.net/resolve?scope=de.gematik.ti@1.1.0&amp;canonical=https://gematik.de/fhir/ti/dffbfd6a-5712-4798-bdc8-07201eb77ab8\">dffbfd6a-5712-4798-bdc8-07201eb77ab8</a></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "166" ] ;
fhir:display [ fhir:v "Flowtype für Arzneimittel nach § 3a AMVV" ]     ]
  ] [
fhir:url [ fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate"^^xsd:anyURI ] ;
fhir:value [
a fhir:date ;
fhir:v "2026-04-01"^^xsd:date     ]
  ] [
fhir:url [ fhir:v "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate"^^xsd:anyURI ] ;
fhir:value [
a fhir:date ;
fhir:v "2026-04-01"^^xsd:date     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"^^xsd:anyURI ] ;
fhir:value [ fhir:v "160.100.000.000.001.39" ]
  ] [
fhir:system [ fhir:v "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode"^^xsd:anyURI ] ;
fhir:value [ fhir:v "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:for [
fhir:identifier [
fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
fhir:value [ fhir:v "X123456789" ]     ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2026-04-01T15:29:00+00:00"^^xsd:dateTime] ; # 
  fhir:lastModified [ fhir:v "2026-04-01T16:44:00.434+00:00"^^xsd:dateTime] ; # 
  fhir:performerType ( [
    ( fhir:coding [
fhir:system [ fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:oid:1.2.276.0.76.4.54" ] ;
fhir:display [ fhir:v "Öffentliche Apotheke" ]     ] )
  ] ) ; # 
  fhir:input ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ] ;
fhir:display [ fhir:v "Health Care Provider Prescription" ]       ] )     ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "281a985c-f25b-4aae-91a6-41ad744080b0" ]     ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "2" ] ;
fhir:display [ fhir:v "Patient Confirmation" ]       ] )     ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "f8c2298f-7c00-4a68-af29-8a2862d55d43" ]     ]
  ] ) ; # 
  fhir:output ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "3" ] ;
fhir:display [ fhir:v "Receipt" ]       ] )     ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "dffbfd6a-5712-4798-bdc8-07201eb77ab8" ]     ]
  ] ) . # 

<https://erp-t-prescription-test.de/Bundle/VZD-SearchSet-Bundle> a fhir:Bundle ;
  fhir:id [ fhir:v "VZD-SearchSet-Bundle"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2025-06-19T08:42:40.732+02:00"^^xsd:dateTime ]
  ] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "3"^^xsd:nonNegativeInteger] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "https://fhir-directory-ref.vzd.ti-dienste.de/search/HealthcareService/a4f1b52e-c5de-47eb-874c-990c2b39bb77"^^xsd:anyURI ] ;
    ( fhir:resource <https://fhir-directory-ref.vzd.ti-dienste.de/search/HealthcareService/a4f1b52e-c5de-47eb-874c-990c2b39bb77> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://fhir-directory-ref.vzd.ti-dienste.de/search/Organization/4f5a9754-2a9d-486d-9eec-a5c6b5f95016"^^xsd:anyURI ] ;
    ( fhir:resource <https://fhir-directory-ref.vzd.ti-dienste.de/search/Organization/4f5a9754-2a9d-486d-9eec-a5c6b5f95016> ) ;
fhir:search [
fhir:mode [ fhir:v "include" ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://fhir-directory-ref.vzd.ti-dienste.de/search/Location/9514f96e-897d-492d-950f-aea11d6f2bb4"^^xsd:anyURI ] ;
    ( fhir:resource <https://fhir-directory-ref.vzd.ti-dienste.de/search/Location/9514f96e-897d-492d-950f-aea11d6f2bb4> ) ;
fhir:search [
fhir:mode [ fhir:v "include" ]     ]
  ] ) . # 

<https://fhir-directory-ref.vzd.ti-dienste.de/search/HealthcareService/a4f1b52e-c5de-47eb-874c-990c2b39bb77> a fhir:HealthcareService ;
  fhir:id [ fhir:v "a4f1b52e-c5de-47eb-874c-990c2b39bb77"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "2" ] ;
fhir:lastUpdated [ fhir:v "2024-03-27T17:49:37.898+01:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/HealthcareService"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/HealthcareService>     ] [
fhir:v "https://gematik.de/fhir/directory/StructureDefinition/HealthcareServiceDirectory"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/directory/StructureDefinition/HealthcareServiceDirectory>     ] ) ;
    ( fhir:tag [
fhir:system [ fhir:v "https://gematik.de/fhir/directory/CodeSystem/Origin"^^xsd:anyURI ] ;
fhir:code [ fhir:v "owner" ]     ] )
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1b9b1767-5496-4c20-bfc1-32ad6d96adbc" ]
  ] ) ; # 
  fhir:providedBy [
fhir:reference [ fhir:v "Organization/4f5a9754-2a9d-486d-9eec-a5c6b5f95016" ]
  ] ; # 
  fhir:location ( [
fhir:reference [ fhir:v "Location/9514f96e-897d-492d-950f-aea11d6f2bb4" ]
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "1234" ] ;
fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:endpoint ( [
fhir:reference [ fhir:v "Endpoint/11d91987-d31e-468f-962e-845bb0c743c3" ]
  ] ) . # 

<https://fhir-directory-ref.vzd.ti-dienste.de/search/Organization/4f5a9754-2a9d-486d-9eec-a5c6b5f95016> a fhir:Organization ;
  fhir:id [ fhir:v "4f5a9754-2a9d-486d-9eec-a5c6b5f95016"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2023-03-23T14:14:28.492+01:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Organization>     ] [
fhir:v "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory>     ] ) ;
    ( fhir:tag [
fhir:system [ fhir:v "https://gematik.de/fhir/directory/CodeSystem/Origin"^^xsd:anyURI ] ;
fhir:code [ fhir:v "owner" ]     ] )
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "44bb2f53-cdd7-4098-9d52-a6c5ac0ddc8d" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PRN" ]       ] )     ] ;
fhir:system [ fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ] ;
fhir:value [ fhir:v "3-Test-APO000053" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1.2.276.0.76.4.54" ] ;
fhir:display [ fhir:v "Öffentliche Apotheke" ]     ] )
  ] ) ; # 
  fhir:name [ fhir:v "Organisation 3-Test-APO000053"] ; # 
  fhir:alias ( [ fhir:v "Organisation 3-Test-APO000053"] ) . # 

<https://fhir-directory-ref.vzd.ti-dienste.de/search/Location/9514f96e-897d-492d-950f-aea11d6f2bb4> a fhir:Location ;
  fhir:id [ fhir:v "9514f96e-897d-492d-950f-aea11d6f2bb4"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2023-03-23T14:14:28.492+01:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/Location"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Location>     ] [
fhir:v "https://gematik.de/fhir/directory/StructureDefinition/LocationDirectory"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/directory/StructureDefinition/LocationDirectory>     ] ) ;
    ( fhir:tag [
fhir:system [ fhir:v "https://gematik.de/fhir/directory/CodeSystem/Origin"^^xsd:anyURI ] ;
fhir:code [ fhir:v "owner" ]     ] )
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "995d8a48-f7fc-4ffb-a676-feb18c7c052c" ]
  ] ) ; # 
  fhir:name [ fhir:v "Location of Organisation 1-2arvtst-ap000053"] ; # 
  fhir:address [
fhir:use [ fhir:v "work" ] ;
fhir:type [ fhir:v "postal" ] ;
fhir:text [ fhir:v "Schwarzwaldstr. 18&#13;&#10;63762&#13;&#10;Großostheim&#13;&#10;Bayern&#13;&#10;DE" ] ;
    ( fhir:line [ fhir:v "Schwarzwaldstr. 18" ] ) ;
fhir:city [ fhir:v "Großostheim" ] ;
fhir:state [ fhir:v "Bayern" ] ;
fhir:postalCode [ fhir:v "63762" ] ;
fhir:country [ fhir:v "DE" ]
  ] . #