diff --git a/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt b/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt
new file mode 100644
index 00000000..63bf9860
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/transformation_protocol.txt
@@ -0,0 +1,682 @@
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_aut_idem/PZN-Verordnung_aut_idem_1/PZN_aut_idem_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Arbeitsunfall/PZN-Verordnung_Arbeitsunfall_1/PZN_Arbeitsunfall_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung/Wirkstoff-Verordnung_3/WS_V3_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung/Wirkstoff-Verordnung_1/WS_V1_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung/Wirkstoff-Verordnung_2/WS_V2_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung/Wirkstoff-Verordnung_4/WS_V4_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Rezeptur-parenterale_Zytostatika/Rezeptur-parenterale_Zytostatika_1/Rez_parenterale_Zytostatika_VerordnungArzt.xml
+ transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN_Mehrfachverordnung/PZN_MV_1/PZN_MV1_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN_Mehrfachverordnung/PZN_MV_3/PZN_MV3_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN_Mehrfachverordnung/PZN_MV_4/PZN_MV4_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN_Mehrfachverordnung/PZN_MV_2/PZN_MV2_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung_Berufskrankheit/Wirkstoff-Verordnung_Berufskrankheit_2/WS_BK_V2_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung_Berufskrankheit/Wirkstoff-Verordnung_Berufskrankheit_1/WS_BK_V1_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_2/PZN_Nr2_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_4/PZN_Nr4_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_7/PZN_Nr7_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_8/PZN_Nr8_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_6/PZN_Nr6_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_5/PZN_Nr5_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_3/PZN_Nr3_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_1/PZN_Nr1_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff_Mehrfachverordnung/WS_MV_1/WS_MV1_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff_Mehrfachverordnung/WS_MV_2/WS_MV2_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Freitext-Verordnung/Freitext-Verordnung_1/FT_V1_VerordnungArzt.xml
+ transform to valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Freitext-Verordnung/Freitext-Verordnung_2/FT_V2_VerordnungArzt.xml
+ transform to valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Rezeptur-Verordnung/Rezeptur-Verordnung_1/Rez_Nr1_VerordnungArzt.xml
+ transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Unfall/PZN-Verordnung_Unfall_1/PZN_Unfall_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Künstliche_Befruchtung/PZN-Verordnung_Künstliche_Befruchtung_2/PZN_KB_V2_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Künstliche_Befruchtung/PZN-Verordnung_Künstliche_Befruchtung_1/PZN_KB_V1_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung_Unfall/Wirkstoff-Verordnung_Unfall_1/WS_Unfall_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Impfstoff/PZN-Verordnung_Impfstoff_2/PZN_Impfstoff_V2_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Impfstoff/PZN-Verordnung_Impfstoff_1/PZN_Impfstoff_V1_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Noctu/PZN-Verordnung_Noctu_1/PZN_Noctu_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_aut_idem/PZN-Verordnung_aut_idem_1/PZN_aut_idem_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Arbeitsunfall/PZN-Verordnung_Arbeitsunfall_1/PZN_Arbeitsunfall_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung/Wirkstoff-Verordnung_3/WS_V3_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung/Wirkstoff-Verordnung_1/WS_V1_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung/Wirkstoff-Verordnung_2/WS_V2_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung/Wirkstoff-Verordnung_4/WS_V4_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Rezeptur-parenterale_Zytostatika/Rezeptur-parenterale_Zytostatika_1/Rez_parenterale_Zytostatika_VerordnungArzt.xml
+ transform to valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN_Mehrfachverordnung/PZN_MV_1/PZN_MV1_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN_Mehrfachverordnung/PZN_MV_3/PZN_MV3_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN_Mehrfachverordnung/PZN_MV_4/PZN_MV4_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN_Mehrfachverordnung/PZN_MV_2/PZN_MV2_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung_Berufskrankheit/Wirkstoff-Verordnung_Berufskrankheit_2/WS_BK_V2_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung_Berufskrankheit/Wirkstoff-Verordnung_Berufskrankheit_1/WS_BK_V1_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_2/PZN_Nr2_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_4/PZN_Nr4_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_7/PZN_Nr7_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_8/PZN_Nr8_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_6/PZN_Nr6_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_5/PZN_Nr5_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_3/PZN_Nr3_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_1/PZN_Nr1_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff_Mehrfachverordnung/WS_MV_1/WS_MV1_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff_Mehrfachverordnung/WS_MV_2/WS_MV2_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Freitext-Verordnung/Freitext-Verordnung_1/FT_V1_VerordnungArzt.xml
+ transform to valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Freitext-Verordnung/Freitext-Verordnung_2/FT_V2_VerordnungArzt.xml
+ transform to valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Rezeptur-Verordnung/Rezeptur-Verordnung_1/Rez_Nr1_VerordnungArzt.xml
+ transform to valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Unfall/PZN-Verordnung_Unfall_1/PZN_Unfall_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Künstliche_Befruchtung/PZN-Verordnung_Künstliche_Befruchtung_2/PZN_KB_V2_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Künstliche_Befruchtung/PZN-Verordnung_Künstliche_Befruchtung_1/PZN_KB_V1_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung_Unfall/Wirkstoff-Verordnung_Unfall_1/WS_Unfall_VerordnungArzt.xml
+ transform to valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Impfstoff/PZN-Verordnung_Impfstoff_2/PZN_Impfstoff_V2_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Impfstoff/PZN-Verordnung_Impfstoff_1/PZN_Impfstoff_V1_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Noctu/PZN-Verordnung_Noctu_1/PZN_Noctu_VerordnungArzt.xml
+ transform to valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_31.xml
+ transform to valid/medicationPzn/Beispiel_31_e0cb3cbc
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_39.xml
+ transform to valid/medicationPzn/Beispiel_39_23d155d0
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_16.xml
+ transform to valid/medicationIngredient/Beispiel_16_6e2b78ab
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_23.xml
+ transform to valid/medicationCompounding/Beispiel_23_d0ca163a
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_9.xml
+ transform to valid/medicationPzn/Beispiel_9_45f28601
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_10_3.xml
+ transform to valid/medicationPzn/Beispiel_10_3_552a0944
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_32.xml
+ transform to valid/medicationPzn/Beispiel_32_318de3dd
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_14.xml
+ transform to valid/medicationPzn/Beispiel_14_63ade791
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_58.xml
+ transform to valid/medicationIngredient/Beispiel_58_97f6247a
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_45.xml
+ transform to valid/medicationPzn/Beispiel_45_bb4ce485
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_50.xml
+ transform to valid/medicationCompounding/Beispiel_50_c0cfd125
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_8.xml
+ transform to valid/medicationPzn/Beispiel_8_0097fa46
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_7.xml
+ transform to valid/medicationPzn/Beispiel_7_c806b0e8
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_15.xml
+ transform to valid/medicationPzn/Beispiel_15_b8505bd0
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_36.xml
+ transform to valid/medicationPzn/Beispiel_36_143798dc
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_21_2.xml
+ transform to valid/medicationIngredient/Beispiel_21_2_67ebe8c1
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_37.xml
+ transform to valid/medicationPzn/Beispiel_37_78ff5d32
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_22.xml
+ transform to valid/medicationFreeText/Beispiel_22_ba4e7121
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_35.xml
+ transform to valid/medicationPzn/Beispiel_35_f54e7067
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_10_2.xml
+ transform to valid/medicationPzn/Beispiel_10_2_d27c0e14
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_10_1.xml
+ transform to valid/medicationPzn/Beispiel_10_1_0904076e
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_2.xml
+ transform to valid/medicationPzn/Beispiel_2_d5f08b4e
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_24.xml
+ transform to valid/medicationCompounding/Beispiel_24_77b6e755
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_34.xml
+ transform to valid/medicationPzn/Beispiel_34_7fd5f6de
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_51.xml
+ transform to valid/medicationCompounding/Beispiel_51_63c98839
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_13.xml
+ transform to valid/medicationPzn/Beispiel_13_8d85e45c
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_21_1.xml
+ transform to valid/medicationIngredient/Beispiel_21_1_c1bbfd8b
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_57.xml
+ transform to valid/medicationPzn/Beispiel_57_855147c1
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_40.xml
+ transform to valid/medicationPzn/Beispiel_40_ec1c5acd
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_33.xml
+ transform to valid/medicationPzn/Beispiel_33_34200096
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_56.xml
+ transform to valid/medicationPzn/Beispiel_56_bc08cd5c
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_52.xml
+ transform to valid/medicationCompounding/Beispiel_52_2980d248
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_54.xml
+ transform to valid/medicationPzn/Beispiel_54_dff1953b
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_55.xml
+ transform to valid/medicationPzn/Beispiel_55_10ddea96
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_41.xml
+ transform to valid/medicationPzn/Beispiel_41_2a94fb4b
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_17.xml
+ transform to valid/medicationIngredient/Beispiel_17_01142458
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_60.xml
+ transform to valid/medicationPzn/Beispiel_60_bc27f419
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_12.xml
+ transform to valid/medicationPzn/Beispiel_12_2aa01d66
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_3_PKV.xml
+ transform to valid/medicationPzn/Beispiel_3_PKV_1f6ef093
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_18.xml
+ transform to valid/medicationIngredient/Beispiel_18_fe99181f
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_29.xml
+ transform to valid/medicationIngredient/Beispiel_29_a90c2e57
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_42.xml
+ transform to valid/medicationPzn/Beispiel_42_f5df70a6
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_25.xml
+ transform to valid/medicationCompounding/Beispiel_25_cd31610e
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_6.xml
+ transform to valid/medicationPzn/Beispiel_6_5287e4ed
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_53.xml
+ transform to valid/medicationCompounding/Beispiel_53_f5386f17
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_4.xml
+ transform to valid/medicationPzn/Beispiel_4_ee308df9
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_19.xml
+ transform to valid/medicationIngredient/Beispiel_19_9eb9d0af
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_10_4.xml
+ transform to valid/medicationPzn/Beispiel_10_4_2f23f99c
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_11.xml
+ transform to valid/medicationPzn/Beispiel_11_1a369537
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_43.xml
+ transform to valid/medicationPzn/Beispiel_43_22d245d1
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_38.xml
+ transform to valid/medicationPzn/Beispiel_38_fb26a25e
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_49.xml
+ transform to valid/medicationPzn/Beispiel_49_68570de1
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_1.xml
+ transform to valid/medicationPzn/Beispiel_1_f40a23d0
+Filename: eRezept-Examples/Standalone-Examples/eRezept_KBV/1.1.0/Beispiel_30.xml
+ transform to valid/medicationPzn/Beispiel_30_1ab932b8
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Allgemein/e_rezept_verschreiben__via_dmc_zuweisen_und_erfolgreich_dispensieren/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_9102a310
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Allgemein/e_rezept_verschreiben_und_dem_versicherten_anzeigen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_89383746
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/e_rezept_durch_versicherten_löschen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_e55e8bba
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/abrufen_des_e_rezepts_als_vertreter/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_968173c9
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_nicht_möglich_bis_nach_der_dispensierung/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_3f310f6f
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_möglich_nach_der_dispensierung/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_670603fd
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_von_markierungen_des_pkv_abgabedatensatzes_durch_versicherten/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_53d1cfe9
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/pkv_abrechnungsinformationen_löschen__wenn_die_einwilligung_vom_versicherten_widerrufen_wird/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_6e19e753
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/anfrage_zu_einem_e_rezept_und_antwort_der_apotheke/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_f4c61557
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/markieren_des_pkv_abgabedatensatzes_durch_versicherten/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_f3b90767
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/markieren_des_pkv_abgabedatensatzes_durch_versicherten/005_document_to_sign.xml
+ transform to valid/medicationPzn/005_document_to_sign_8e04dafe
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_möglich_erst_nach_der_dispensierung/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_11cffc5c
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/dispensierinformationen_zum_e_rezept_als_versicherter_einsehen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_3bc18bf8
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/e_rezept_als_direktzuweisung_verschreiben__anzeige_im_fdv__wf_209_/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_2cbc202c
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/zuweisung_an_einen_vertreter_nicht_möglich_nach_dem_einlösen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_09045269
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/zuweisung_an_einen_vertreter/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_c3479bd3
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/anzeigen_von_direkt_zugewiesenen_e_rezepten/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_dd2d2c6b
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/zuweisung_per_nachricht/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_16ca6d24
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_nicht_möglich_während_der_dispensierung/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_f276a8fc
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/versicherte_löscht_alle_nachrichten/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_d45686e2
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_des_e_rezepts_als_vertreter_nur_mit_accesscode_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_2d9e5916
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/versicherte_löscht_eine_nachricht/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_feff6e76
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/zuweisung_an_sich_selbst_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_ce4b1eb6
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/einwilligung_durch_versicherten_erteilen/005_document_to_sign.xml
+ transform to valid/medicationPzn/005_document_to_sign_50200ff7
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_von_akzeptierten_e_rezepten_durch_den_versicherten_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_141bdd95
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_von_eingelösten_e_rezepten_durch_den_versicherten_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_7b9e2504
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/e_rezept_per_alternative_zuweisung_einlösen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_2a985325
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_der_pkv_abrechnungsinformationen_durch_den_versicherten/005_document_to_sign.xml
+ transform to valid/medicationPzn/005_document_to_sign_2745328a
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Fachdienst/pkv_e_rezept_an_gkv_versicherten/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_ad7148f1
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Fachdienst/pkv_e_rezept_als_direktzuweisung_an_gkv_versicherten_nicht_möglich/009_document_to_sign.xml
+ transform to valid/medicationPzn/009_document_to_sign_57eabb67
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Fachdienst/pkv_e_rezept_als_direktzuweisung_an_gkv_versicherten_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_6f96c033
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Fachdienst/fachdienst_löscht_alle_nachrichten_zu_einem_e_rezept_nach_dem_einlösen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_bcba7c06
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/e_rezept_durch_verordnenden_löschen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_b1146a3f
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/mehrfachverordnung_für_pkv_versicherte/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_2e209d67
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/direktzuweisung_an_eine_apotheke_durch_den_arzt/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_c2ad19ce
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/entlassrezept_nicht_als_mehrfachverordnung/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_862aa430
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/pkv_e_rezept_verschreiben_und_dem_versicherten_anzeigen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_a4f05dcd
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/löschen_des_e_rezepts_nicht_möglich__weil_durch_apotheke_reserviert/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_cec6c127
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/direktzuweisung_an_eine_apotheke_durch_den_arzt__wf_209_/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_76455c58
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/arztpraxis_darf_keine_nachricht_versenden/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_5ed8a5cd
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/mehrfachverordnung_für_gkv_versicherte/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_c60771b5
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/mehrfachverordnung_für_gkv_versicherte_als_direktzuweisung/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_0d6a22d4
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/zusammenhängende_mehrfachverordnung_für_gkv_versicherte/023_document_to_sign.xml
+ transform to valid/medicationPzn/023_document_to_sign_2d819774
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/zusammenhängende_mehrfachverordnung_für_gkv_versicherte/009_document_to_sign.xml
+ transform to valid/medicationPzn/009_document_to_sign_4aec765d
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/zusammenhängende_mehrfachverordnung_für_gkv_versicherte/016_document_to_sign.xml
+ transform to valid/medicationPzn/016_document_to_sign_355db86f
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/zusammenhängende_mehrfachverordnung_für_gkv_versicherte/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_02fcf3a5
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/mehrfachverordnung_für_pkv_versicherte_als_direktzuweisung/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_f25d9001
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/keine_pkv_abrechnungsinformationen_für_gkv_workflows/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_e4726de8
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ändern_des_pkv_abgabedatensatzes_auf_wunsch_des_versicherten__übertragung_des_accesscodes_per_nachricht/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_1e697f5a
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/benachrichtigung_beim_eingang_einer_neuen_anfrage/004_document_to_sign.xml
+ transform to valid/medicationPzn/004_document_to_sign_0169e0e6
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/teilrezept_nicht_einlösbar__wenn_start_des_gütligkeitszeitraums_noch_nicht_erreicht/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_840ab9b1
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/apotheke_darf_dispensierinformationen_nicht_abrufen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_cae47569
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/bereitstellen_der_abrechnungsinformationen_durch_die_apotheke__wf_209_/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_4ee123e6
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/erstes_teilrezept_einer_mehrfachverordnung_einlösen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_aedad2dd
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/abrufen_der_abrechnungsinformationen_durch_einen_apotheker_mit_falschem_accesscode/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_59da5b8a
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/apotheke_löscht_nachricht/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_2aa2072e
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/eine_apotheke_darf_über_die_egk_nur_e_rezepte_einsehen_die_noch_nicht_eingelöst_sind/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_13ef7eed
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/in_der_apotheke_ein_e_rezept_mit_egk_abrufen_und_einlösen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_78aebb81
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ändern_des_pkv_abgabedatensatzes_auf_wunsch_des_versicherten__übertragung_des_accesscodes_per_dmc/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_5e9c3c5a
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/dispensieren_mit_falschem_secret_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_19a7bde6
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/einlösen_von_e_rezepten_über_die_egk_in_krankenhaus_apotheke_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_5665652f
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ändern_des_pkv_abgabedatensatzes_nicht_möglich__weil_einwilligung_widerrufen/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_39ea3447
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/zweimaliges_akzeptieren_des_e_rezepts_durch_gleiche_apotheke_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_8e4b0bfe
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/bereitstellen_der_pkv_abrechnungsinformationen_nicht_möglich__weil_e_rezept_gelöscht_wurde/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_004ef082
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/e_rezepte_mit_egk_in_der_apotheke_nur_mit_zeitlich_gültigem_prüfungsnachweis/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_dd6f3569
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/löschen_des_e_rezepts_durch_apotheke_nicht_möglich__weil_nicht_akzeptiert/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_dbeccf45
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/e_rezept_mit_egk_und_gültigem_prüfungsnachweis_in_der_apotheke_einlösen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_cb78899c
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/einlösen_des_e_rezepts_nicht_möglich__weil_durch_versicherten_gelöscht/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_1b51052c
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/bereitstellen_der_pkv_abrechnungsinformationen_durch_die_apotheke_nach_änderung_der_medikation/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_9965d2f7
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/keine_pkv_abrechnungsinformationen_bereitstellen__wenn_keine_einwilligung_erteilt/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_7e017904
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/einlösen_des_e_rezepts_nicht_möglich__weil_durch_apotheke_zurückgegeben/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_cc2415eb
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/dispensierung_des_e_rezeptes_mit_unterschiedlichen_normgrößen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_1ed8eaa8
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/erneutes_dispensieren_durch_die_gleiche_apotheke_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_1c646da7
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/bereitstellen_der_pkv_abrechnungsinformationen_durch_die_apotheke/005_document_to_sign.xml
+ transform to valid/medicationPzn/005_document_to_sign_d9759800
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/pkv_e_rezept_dispensieren/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_a0b1a2cd
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/abrufen_der_abrechnungsinformationen_durch_eine_apotheke_mit_accesscode/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_a40b9e5a
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/zurückgeben_mit_falschem_secret_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_550e0973
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/e_rezept_kann_nicht_durch_eine_zweite_apotheke_reserviert_werden/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_94ddf2c1
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/keine_pkv_abrechnungsinformationen_bereitstellen_bei_ungültigem_secret/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_fd771be7
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/benachrichtigung_beim_eingang_einer_neuen_zuweisung/004_document_to_sign.xml
+ transform to valid/medicationPzn/004_document_to_sign_fb58223d
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ein_apotheker_darf_kein_e_rezept_signieren/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_83c10e2d
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/keine_abrechnungsinformationen_bereitstellen_ohne_einwilligung__wf_209_/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_265b0953
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/einlösen_des_e_rezepts_nicht_möglich__weil_durch_apotheke_gelöscht/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_0854ff7a
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ändern_des_pkv_abgabedatensatzes_nur_einmal_möglich_mit_gleichem_accesscode/003_document_to_sign.xml
+ transform to valid/medicationPzn/003_document_to_sign_3fb29ad6
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/quittung_erneut_abfragen/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_5da0791f
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/das_abrufen_von_e_rezepten_ohne_das_zuvor_ein_aktueller_prüfungsnachweis_abgerufen_wurde__muss_vom_e_rezept_fachdienst_untersagt_werden_/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_55258d43
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/löschen_mit_falschem_secret_nicht_möglich/002_document_to_sign.xml
+ transform to valid/medicationPzn/002_document_to_sign_f8d80421
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_aut_idem/PZN-Verordnung_aut_idem_1/PZN_aut_idem_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Arbeitsunfall/PZN-Verordnung_Arbeitsunfall_1/PZN_Arbeitsunfall_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung/Wirkstoff-Verordnung_3/WS_V3_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_V3_MedicationDispense_b3753083
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung/Wirkstoff-Verordnung_1/WS_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_V1_MedicationDispense_bead4326
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung/Wirkstoff-Verordnung_2/WS_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung/Wirkstoff-Verordnung_4/WS_V4_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_V4_MedicationDispense_336380fd
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Rezeptur-parenterale_Zytostatika/Rezeptur-parenterale_Zytostatika_1/Rez_parenterale_Zytostatika_MedicationDispense.xml
+ transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN_Mehrfachverordnung/PZN_MV_1/PZN_MV1_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN_Mehrfachverordnung/PZN_MV_3/PZN_MV3_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN_Mehrfachverordnung/PZN_MV_4/PZN_MV4_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN_Mehrfachverordnung/PZN_MV_2/PZN_MV2_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung_Berufskrankheit/Wirkstoff-Verordnung_Berufskrankheit_2/WS_BK_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung_Berufskrankheit/Wirkstoff-Verordnung_Berufskrankheit_1/WS_BK_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_2/PZN_Nr2_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_4/PZN_Nr4_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_7/PZN_Nr7_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_8/PZN_Nr8_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_6/PZN_Nr6_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_5/PZN_Nr5_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_3/PZN_Nr3_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung/PZN-Verordnung_1/PZN_Nr1_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff_Mehrfachverordnung/WS_MV_1/WS_MV1_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff_Mehrfachverordnung/WS_MV_2/WS_MV2_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_MV2_MedicationDispense_80760961
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Freitext-Verordnung/Freitext-Verordnung_1/FT_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Freitext-Verordnung/Freitext-Verordnung_2/FT_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Rezeptur-Verordnung/Rezeptur-Verordnung_1/Rez_Nr1_MedicationDispense.xml
+ transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Unfall/PZN-Verordnung_Unfall_1/PZN_Unfall_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Künstliche_Befruchtung/PZN-Verordnung_Künstliche_Befruchtung_2/PZN_KB_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Künstliche_Befruchtung/PZN-Verordnung_Künstliche_Befruchtung_1/PZN_KB_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/Wirkstoff-Verordnung_Unfall/Wirkstoff-Verordnung_Unfall_1/WS_Unfall_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Impfstoff/PZN-Verordnung_Impfstoff_2/PZN_Impfstoff_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Impfstoff/PZN-Verordnung_Impfstoff_1/PZN_Impfstoff_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842
+Filename: eRezept-Examples/End-to-End-Examples/4_01.07.2023/PZN-Verordnung_Noctu/PZN-Verordnung_Noctu_1/PZN_Noctu_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_aut_idem/PZN-Verordnung_aut_idem_1/PZN_aut_idem_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Arbeitsunfall/PZN-Verordnung_Arbeitsunfall_1/PZN_Arbeitsunfall_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung/Wirkstoff-Verordnung_3/WS_V3_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung/Wirkstoff-Verordnung_1/WS_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung/Wirkstoff-Verordnung_2/WS_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_V2_MedicationDispense_5008abb4
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung/Wirkstoff-Verordnung_4/WS_V4_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Rezeptur-parenterale_Zytostatika/Rezeptur-parenterale_Zytostatika_1/Rez_parenterale_Zytostatika_MedicationDispense.xml
+ transform to valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN_Mehrfachverordnung/PZN_MV_1/PZN_MV1_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN_Mehrfachverordnung/PZN_MV_3/PZN_MV3_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN_Mehrfachverordnung/PZN_MV_4/PZN_MV4_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN_Mehrfachverordnung/PZN_MV_2/PZN_MV2_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung_Berufskrankheit/Wirkstoff-Verordnung_Berufskrankheit_2/WS_BK_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung_Berufskrankheit/Wirkstoff-Verordnung_Berufskrankheit_1/WS_BK_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_2/PZN_Nr2_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_4/PZN_Nr4_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_7/PZN_Nr7_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_8/PZN_Nr8_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_6/PZN_Nr6_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_5/PZN_Nr5_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_3/PZN_Nr3_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung/PZN-Verordnung_1/PZN_Nr1_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff_Mehrfachverordnung/WS_MV_1/WS_MV1_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_MV1_MedicationDispense_d697d945
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff_Mehrfachverordnung/WS_MV_2/WS_MV2_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Freitext-Verordnung/Freitext-Verordnung_1/FT_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Freitext-Verordnung/Freitext-Verordnung_2/FT_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Rezeptur-Verordnung/Rezeptur-Verordnung_1/Rez_Nr1_MedicationDispense.xml
+ transform to valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Unfall/PZN-Verordnung_Unfall_1/PZN_Unfall_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Künstliche_Befruchtung/PZN-Verordnung_Künstliche_Befruchtung_2/PZN_KB_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Künstliche_Befruchtung/PZN-Verordnung_Künstliche_Befruchtung_1/PZN_KB_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/Wirkstoff-Verordnung_Unfall/Wirkstoff-Verordnung_Unfall_1/WS_Unfall_MedicationDispense.xml
+ transform to valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Impfstoff/PZN-Verordnung_Impfstoff_2/PZN_Impfstoff_V2_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Impfstoff/PZN-Verordnung_Impfstoff_1/PZN_Impfstoff_V1_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0
+Filename: eRezept-Examples/End-to-End-Examples/5_01.11.2024/PZN-Verordnung_Noctu/PZN-Verordnung_Noctu_1/PZN_Noctu_MedicationDispense.xml
+ transform to valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch.xml
+ transform to valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN.xml
+ transform to valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.627.91_medicationdispense_WST.xml
+ transform to valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN.xml
+ transform to valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.564.86_medicationdispense_MVO.xml
+ transform to valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch.xml
+ transform to valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen.xml
+ transform to valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN.xml
+ transform to valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN.xml
+ transform to valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen.xml
+ transform to valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur.xml
+ transform to valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN.xml
+ transform to valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/Konnektathon_MedicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe.xml
+ transform to valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551
+Filename: eRezept-Examples/Standalone-Examples/E-Rezept-Workflow_gematik/1.2.0/3465270a-11e7-4bbf-ae53-378f9cc52747.xml
+ transform to valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Allgemein/e_rezept_verschreiben__via_dmc_zuweisen_und_erfolgreich_dispensieren/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_fa474a74
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_möglich_nach_der_dispensierung/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_4ebfa209
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_von_markierungen_des_pkv_abgabedatensatzes_durch_versicherten/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_2789ac6b
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/pkv_abrechnungsinformationen_löschen__wenn_die_einwilligung_vom_versicherten_widerrufen_wird/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_d1d6a359
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/markieren_des_pkv_abgabedatensatzes_durch_versicherten/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_31f38335
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/markieren_des_pkv_abgabedatensatzes_durch_versicherten/011_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/011_Request_MedicationDispense_72acb68b
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_möglich_erst_nach_der_dispensierung/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_490093ae
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/dispensierinformationen_zum_e_rezept_als_versicherter_einsehen/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_909027dd
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/zuweisung_an_einen_vertreter_nicht_möglich_nach_dem_einlösen/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_d71fba4b
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/zuweisung_an_einen_vertreter/013_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/013_Request_MedicationDispense_91805a70
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/zuweisung_per_nachricht/014_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/einwilligung_durch_versicherten_erteilen/011_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/011_Request_MedicationDispense_56e40195
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_von_akzeptierten_e_rezepten_durch_den_versicherten_nicht_möglich/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_von_eingelösten_e_rezepten_durch_den_versicherten_möglich/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_687dff01
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/e_rezept_per_alternative_zuweisung_einlösen/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_7be52e28
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Versicherter/löschen_der_pkv_abrechnungsinformationen_durch_den_versicherten/011_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Fachdienst/fachdienst_löscht_alle_nachrichten_zu_einem_e_rezept_nach_dem_einlösen/014_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/014_Request_MedicationDispense_e08671c3
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/direktzuweisung_an_eine_apotheke_durch_den_arzt/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_64342c02
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/löschen_des_e_rezepts_nicht_möglich__weil_durch_apotheke_reserviert/010_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/010_Request_MedicationDispense_a8177c29
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Arztpraxis/direktzuweisung_an_eine_apotheke_durch_den_arzt__wf_209_/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_d8468bee
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/keine_pkv_abrechnungsinformationen_für_gkv_workflows/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_15a4f10b
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ändern_des_pkv_abgabedatensatzes_auf_wunsch_des_versicherten__übertragung_des_accesscodes_per_nachricht/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_a86d9701
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/apotheke_darf_dispensierinformationen_nicht_abrufen/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_a7854089
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/bereitstellen_der_abrechnungsinformationen_durch_die_apotheke__wf_209_/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_622316fe
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/erstes_teilrezept_einer_mehrfachverordnung_einlösen/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_14610226
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/abrufen_der_abrechnungsinformationen_durch_einen_apotheker_mit_falschem_accesscode/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_cb07b09c
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/in_der_apotheke_ein_e_rezept_mit_egk_abrufen_und_einlösen/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_8dcafef9
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ändern_des_pkv_abgabedatensatzes_auf_wunsch_des_versicherten__übertragung_des_accesscodes_per_dmc/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_59d671a6
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/dispensieren_mit_falschem_secret_nicht_möglich/010_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/010_Request_MedicationDispense_a00e4916
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/dispensieren_mit_falschem_secret_nicht_möglich/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_e3418508
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ändern_des_pkv_abgabedatensatzes_nicht_möglich__weil_einwilligung_widerrufen/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_41e06295
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/zweimaliges_akzeptieren_des_e_rezepts_durch_gleiche_apotheke_nicht_möglich/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_305be6c9
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/bereitstellen_der_pkv_abrechnungsinformationen_nicht_möglich__weil_e_rezept_gelöscht_wurde/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/e_rezept_mit_egk_und_gültigem_prüfungsnachweis_in_der_apotheke_einlösen/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/bereitstellen_der_pkv_abrechnungsinformationen_durch_die_apotheke_nach_änderung_der_medikation/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/keine_pkv_abrechnungsinformationen_bereitstellen__wenn_keine_einwilligung_erteilt/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_5113c40f
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/einlösen_des_e_rezepts_nicht_möglich__weil_durch_apotheke_zurückgegeben/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_f1564ba7
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/erneutes_dispensieren_durch_die_gleiche_apotheke_nicht_möglich/010_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/010_Request_MedicationDispense_71f76f82
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/erneutes_dispensieren_durch_die_gleiche_apotheke_nicht_möglich/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/bereitstellen_der_pkv_abrechnungsinformationen_durch_die_apotheke/011_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/011_Request_MedicationDispense_d356fb06
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/pkv_e_rezept_dispensieren/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_543ea2ca
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/abrufen_der_abrechnungsinformationen_durch_eine_apotheke_mit_accesscode/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_87e0742e
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/zurückgeben_mit_falschem_secret_nicht_möglich/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_1473f940
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/e_rezept_kann_nicht_durch_eine_zweite_apotheke_reserviert_werden/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_0159fb4f
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/keine_pkv_abrechnungsinformationen_bereitstellen_bei_ungültigem_secret/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_c591a1e2
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/keine_abrechnungsinformationen_bereitstellen_ohne_einwilligung__wf_209_/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/einlösen_des_e_rezepts_nicht_möglich__weil_durch_apotheke_gelöscht/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_809395bb
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/ändern_des_pkv_abgabedatensatzes_nur_einmal_möglich_mit_gleichem_accesscode/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_c48e8331
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/quittung_erneut_abfragen/008_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/008_Request_MedicationDispense_506e4daf
+Filename: eRezept-Examples/Test-Scenarios/2023-07-01/Apotheke/löschen_mit_falschem_secret_nicht_möglich/009_Request_MedicationDispense.xml
+ transform to valid/medicationDispense/009_Request_MedicationDispense_c30c0754
+Filename: eRezept-Examples/API-Examples/2024-11-01/erp_abrufen/06_request_taskClose.xml
+ transform to valid/medicationDispense/06_request_taskClose_c8335ed8
+Filename: eRezept-Examples/API-Examples/2024-11-01/erp_abrufen/08_response_taskDispense.xml
+ transform to valid/medicationDispense/08_response_taskDispense_816796a2
+Filename: eRezept-Examples/API-Examples/2023-07-01/erp_abrufen/06_request_taskClose.xml
+ transform to valid/medicationDispense/06_request_taskClose_8d0f44ed
+Filename: eRezept-Examples/API-Examples/2023-07-01/erp_abrufen/08_response_taskDispense.xml
+ transform to valid/medicationDispense/08_response_taskDispense_00c96c80
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/input.xml
new file mode 100644
index 00000000..67d159fe
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/input.xml
@@ -0,0 +1,407 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.json
new file mode 100644
index 00000000..b50cf591
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.json
@@ -0,0 +1,293 @@
+{
+ "resourceType": "Parameters",
+ "id": "d0ca163a-24f8-40d7-8617-9b541f06bd50",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.024.67"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "c2e34efd-a677-4244-9a75-db1456a9ec43",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/ad0442af-19ac-486b-8f59-50f0477784a3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "patientInstruction": "1–3mal/Tag auf die erkrankten Hautstellen auftragen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ad0442af-19ac-486b-8f59-50f0477784a3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Lösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Salicylsäure"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "2-propanol 70 %"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 100 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a4b813e9-5280-428f-8a80-cd28b1375d66",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e00bb867-64e7-4c34-b62d-4c367cc955fe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123412821"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Hanna Schmidt",
+ "family": "Schmidt",
+ "given": [ "Hanna" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.xml
new file mode 100644
index 00000000..8d24c705
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_23_d0ca163a/output.xml
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/input.xml
new file mode 100644
index 00000000..bfe8b1a5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/input.xml
@@ -0,0 +1,437 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/log.txt
new file mode 100644
index 00000000..d52eed05
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=14,row=100,locationString=Parameters.parameter[0].part[3].resource/*Medication/5503537d-c76e-4909-aedb-82afbeea1de2*/.ingredient[0].item.ofType(CodeableConcept).coding[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[3].resource/*Medication/5503537d-c76e-4909-aedb-82afbeea1de2*/.ingredient[0].item.ofType(CodeableConcept).coding[0]: Does not match slice 'ask' (discriminator: $this.where(system = 'http://fhir.de/CodeSystem/ask').exists()), Parameters.parameter[0].part[3].resource/*Medication/5503537d-c76e-4909-aedb-82afbeea1de2*/.ingredient[0].item.ofType(CodeableConcept).coding[0]: Does not match slice 'atc-de' (discriminator: $this.where(system = 'http://fhir.de/CodeSystem/bfarm/atc').exists()), Parameters.parameter[0].part[3].resource/*Medication/5503537d-c76e-4909-aedb-82afbeea1de2*/.ingredient[0].item.ofType(CodeableConcept).coding[0]: Does not match slice 'snomed' (discriminator: $this.where(system = 'http://snomed.info/sct').exists()), Parameters.parameter[0].part[3].resource/*Medication/5503537d-c76e-4909-aedb-82afbeea1de2*/.ingredient[0].item.ofType(CodeableConcept).coding[0]: Does not match slice 'pzn' (discriminator: $this.empty())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.json
new file mode 100644
index 00000000..daef0f2c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.json
@@ -0,0 +1,344 @@
+{
+ "resourceType": "Parameters",
+ "id": "77b6e755-fdd5-4671-af4b-5fb984a51b36",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.059.59"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "8ecfd49c-ac04-420e-a009-312c880e164a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/5503537d-c76e-4909-aedb-82afbeea1de2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "patientInstruction": "Jeden 2. Tag vorm Schlafen dünn auf Achselhöhle auftragen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "5503537d-c76e-4909-aedb-82afbeea1de2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension",
+ "valueString": "Deo-Roller"
+ } ],
+ "code": {
+ "text": "Viskose Aluminiumchlorid-Hexahydrat-Lösung 20 % (NRF 11.132.)"
+ },
+ "form": {
+ "text": "Gel"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10206346"
+ } ],
+ "text": "Aluminiumchlorid-Hexahydrat"
+ },
+ "strength": {
+ "numerator": {
+ "value": 20,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension",
+ "valueString": "Pulver"
+ } ],
+ "itemCodeableConcept": {
+ "text": "Hydroxyethylcellulose 250"
+ },
+ "strength": {
+ "numerator": {
+ "value": 2,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "Gereinigtes Wasser"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 100 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "50ed58c8-f876-482a-83da-759031dd2eb1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6524ad28-d03b-4dd9-8315-71d0e774bc2f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123412821"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Hanna Schmidt",
+ "family": "Schmidt",
+ "given": [ "Hanna" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.xml
new file mode 100644
index 00000000..69484ba2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_24_77b6e755/output.xml
@@ -0,0 +1,334 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/input.xml
new file mode 100644
index 00000000..ff225e69
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/input.xml
@@ -0,0 +1,422 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.json
new file mode 100644
index 00000000..1a97ef5f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.json
@@ -0,0 +1,280 @@
+{
+ "resourceType": "Parameters",
+ "id": "cd31610e-32dd-4a05-9067-bf43d91783fb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.026.61"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a9f31f64-eb19-4c1c-81be-9105c1074317",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1016718f-2591-4926-a4fe-011056a24be3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "patientInstruction": "zur ärztlichen parenteralen Applikation gem. Therapieplan"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 3,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1016718f-2591-4926-a4fe-011056a24be3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Infusionslösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "500"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Etoposid"
+ },
+ "strength": {
+ "numerator": {
+ "value": 180,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "NaCl 0,9 %"
+ },
+ "strength": {
+ "numerator": {
+ "value": 500,
+ "unit": "ml",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "12ab53c4-1b89-442f-a505-df106e0a90e5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c91af2ae-dc4f-4bee-8f2f-90fc68a97d6e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.xml
new file mode 100644
index 00000000..f78eb823
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_25_cd31610e/output.xml
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/input.xml
new file mode 100644
index 00000000..44acb15e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/input.xml
@@ -0,0 +1,432 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.json
new file mode 100644
index 00000000..4f41fddb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.json
@@ -0,0 +1,312 @@
+{
+ "resourceType": "Parameters",
+ "id": "c0cfd125-bdd5-4d1e-bd1f-8691383ed365",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.050.86"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9f42f691-00ca-4ff8-a442-6a82ec8c6f58",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/2934cc48-02ee-4309-9773-a3e8eeb46414"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "patientInstruction": "Täglich eine zum Frühstück"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "2934cc48-02ee-4309-9773-a3e8eeb46414",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Kapseln"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "50"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Hydrocortison"
+ },
+ "strength": {
+ "numerator": {
+ "value": 0.06,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "Mannit"
+ },
+ "strength": {
+ "numerator": {
+ "value": 12.5,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "Siliciumdioxid"
+ },
+ "strength": {
+ "numerator": {
+ "value": 0.5,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e59a85d4-4433-41b7-845e-8fe2d88996c9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c1eb068e-647f-4e8d-b5bb-095a0c4ecfad",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.xml
new file mode 100644
index 00000000..efe2eaa3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_50_c0cfd125/output.xml
@@ -0,0 +1,307 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/input.xml
new file mode 100644
index 00000000..ff700530
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/input.xml
@@ -0,0 +1,420 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.json
new file mode 100644
index 00000000..400fab0b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.json
@@ -0,0 +1,296 @@
+{
+ "resourceType": "Parameters",
+ "id": "63c98839-e704-448f-a42c-05d1e422b1fe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.051.83"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "e1a45554-8e84-4e22-983b-b2b01068c0b6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c23c85eb-6be7-48b3-a721-3ca169e1ff92"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "patientInstruction": "Ad libitum"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c23c85eb-6be7-48b3-a721-3ca169e1ff92",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Creme"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "50"
+ } ],
+ "unit": "g"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension",
+ "valueString": "Creme"
+ } ],
+ "itemCodeableConcept": {
+ "text": "Nerisona"
+ },
+ "strength": {
+ "numerator": {
+ "value": 20,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension",
+ "valueString": "Creme"
+ } ],
+ "itemCodeableConcept": {
+ "text": "Asche Basis"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 50 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "27559db0-d4f9-4588-b557-ca65e6b13b08",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "154cea99-6e4a-4cfa-ac7c-b93b44399054",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.xml
new file mode 100644
index 00000000..181b035f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_51_63c98839/output.xml
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/input.xml
new file mode 100644
index 00000000..11e05e19
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/input.xml
@@ -0,0 +1,420 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.json
new file mode 100644
index 00000000..4b8d56cb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.json
@@ -0,0 +1,296 @@
+{
+ "resourceType": "Parameters",
+ "id": "2980d248-49f1-4e91-aa75-778d4751390b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.052.80"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "ab10c5e2-4d86-4e96-9b94-285f04be73d1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/11f4494c-2a56-42f2-8605-4b69f5e79a49"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "patientInstruction": "Ad libitum"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "11f4494c-2a56-42f2-8605-4b69f5e79a49",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Salbe"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "60"
+ } ],
+ "unit": "g"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension",
+ "valueString": "Salbe"
+ } ],
+ "itemCodeableConcept": {
+ "text": "Nerisona"
+ },
+ "strength": {
+ "numerator": {
+ "value": 30,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension",
+ "valueString": "Salbe"
+ } ],
+ "itemCodeableConcept": {
+ "text": "Asche Basis"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 60 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5347fd74-5d10-4d2b-b3ff-e425510b76b4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "8b5e8db7-583b-46c1-aed9-ceffe28df161",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.xml
new file mode 100644
index 00000000..2e93740c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_52_2980d248/output.xml
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/input.xml
new file mode 100644
index 00000000..624b8a00
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/input.xml
@@ -0,0 +1,417 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.json
new file mode 100644
index 00000000..29b3053a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.json
@@ -0,0 +1,325 @@
+{
+ "resourceType": "Parameters",
+ "id": "f5386f17-67f1-48b1-9078-94e0d58f0769",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.053.77"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "457add25-067c-4530-a197-901092342a2d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c12fb7ca-aadf-43be-86d5-49d3a72c893f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "patientInstruction": "Ad libitum"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c12fb7ca-aadf-43be-86d5-49d3a72c893f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Creme"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "200"
+ } ],
+ "unit": "g"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Erythromycin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 2.5,
+ "unit": "%",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "Oleum Rosae"
+ },
+ "strength": {
+ "numerator": {
+ "value": 1,
+ "unit": "%",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "Ungt. Emulsificans aquos."
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 200 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5be8296c-1132-4d55-a6ad-8afb6f3bbba1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "7853b9ff-ac7e-476d-bbef-467af4d3c34d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.xml
new file mode 100644
index 00000000..beb07ff5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Beispiel_53_f5386f17/output.xml
@@ -0,0 +1,317 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/input.xml
new file mode 100644
index 00000000..6fa1f8c7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/input.xml
@@ -0,0 +1,407 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.json
new file mode 100644
index 00000000..19678a2f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.json
@@ -0,0 +1,293 @@
+{
+ "resourceType": "Parameters",
+ "id": "6b905d63-1de0-45c9-91b8-b1b54c34a141",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.024.67"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "7e900422-5bc3-414a-8993-bfad0b89068c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c990176b-c910-4191-8c0f-f6e996785e92"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dosageInstruction": [ {
+ "patientInstruction": "1–3mal/Tag auf die erkrankten Hautstellen auftragen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c990176b-c910-4191-8c0f-f6e996785e92",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Lösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Salicylsäure"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "2-propanol 70 %"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 100 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9e0196a3-9b4b-4beb-b535-be2fa9198d02",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9410eae3-e0b2-4a55-9e57-b34160f84bbc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123412821"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Hanna Schmidt",
+ "family": "Schmidt",
+ "given": [ "Hanna" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.xml
new file mode 100644
index 00000000..87134bb2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_6b905d63/output.xml
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/input.xml
new file mode 100644
index 00000000..ca70c607
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/input.xml
@@ -0,0 +1,407 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.json
new file mode 100644
index 00000000..7db83be7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.json
@@ -0,0 +1,293 @@
+{
+ "resourceType": "Parameters",
+ "id": "e2b9bad6-daef-4e42-a33b-fc8ce4d9cee3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.024.67"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "c44f0c9e-96eb-4817-bde8-19c74b3c6e9a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/7365a91b-b962-4324-aa33-7c9bf511a66a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dosageInstruction": [ {
+ "patientInstruction": "1–3mal/Tag auf die erkrankten Hautstellen auftragen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7365a91b-b962-4324-aa33-7c9bf511a66a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Lösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Salicylsäure"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "2-propanol 70 %"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 100 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "377509df-e344-4b32-8f9e-3ad3e78e01f7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "79b26bf7-c05f-49bb-ad2d-c736615d3eb1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123412821"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Hanna Schmidt",
+ "family": "Schmidt",
+ "given": [ "Hanna" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.xml
new file mode 100644
index 00000000..bc0f56f8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_Nr1_VerordnungArzt_e2b9bad6/output.xml
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/input.xml
new file mode 100644
index 00000000..0e2b20b2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/input.xml
@@ -0,0 +1,418 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.json
new file mode 100644
index 00000000..aa2632da
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.json
@@ -0,0 +1,293 @@
+{
+ "resourceType": "Parameters",
+ "id": "033c56e0-d603-489b-8319-7e3617c16c66",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.018.562.305.023.72"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-24"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b44223ed-f19b-460c-aee0-b7de573cc144",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/ca3f42bb-f6b3-4a02-bc0e-63170797ea34"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-24",
+ "dosageInstruction": [ {
+ "patientInstruction": "zur ärztlichen parenteralen Applikation gem. Therapieplan"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 3,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ca3f42bb-f6b3-4a02-bc0e-63170797ea34",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Infusionslösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "500"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Etoposid"
+ },
+ "strength": {
+ "numerator": {
+ "value": 180,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "NaCl 0,9 %"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "ad 500 ml"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "58e76559-ce74-41cc-b860-f16bcbf67702",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "463af580-d8ed-442b-8354-66b646359363",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.xml
new file mode 100644
index 00000000..c2769e60
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_033c56e0/output.xml
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/input.xml
new file mode 100644
index 00000000..c8e85a9d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/input.xml
@@ -0,0 +1,418 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.json
new file mode 100644
index 00000000..b4a07385
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.json
@@ -0,0 +1,293 @@
+{
+ "resourceType": "Parameters",
+ "id": "042df730-d189-4cc6-91f9-8cb0d68e459a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.018.562.305.023.72"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-24"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "2525f790-4961-4195-a5cd-b3eaa899ada2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c155a2f2-7201-4454-beb3-6025b201e38e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-24",
+ "dosageInstruction": [ {
+ "patientInstruction": "zur ärztlichen parenteralen Applikation gem. Therapieplan"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 3,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c155a2f2-7201-4454-beb3-6025b201e38e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Infusionslösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "500"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Etoposid"
+ },
+ "strength": {
+ "numerator": {
+ "value": 180,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "NaCl 0,9 %"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "ad 500 ml"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d8ce2a91-ff95-4049-aa6c-eb4cfc26d743",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9ead6ff2-1a33-4142-ab1a-f572c47eaa5a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.xml
new file mode 100644
index 00000000..d4b64965
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationCompounding/Rez_parenterale_Zytostatika_VerordnungArzt_042df730/output.xml
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/input.xml
new file mode 100644
index 00000000..67cfb7bf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/log.txt
new file mode 100644
index 00000000..1fe803d1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/559e6ae6-bdfd-4564-9848-5a6cbb6c440a*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/559e6ae6-bdfd-4564-9848-5a6cbb6c440a*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/559e6ae6-bdfd-4564-9848-5a6cbb6c440a*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.json
new file mode 100644
index 00000000..89143aab
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "14610226-9fcc-4853-8dee-763f9a5e1a71",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "559e6ae6-bdfd-4564-9848-5a6cbb6c440a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.784.20"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/9cc0d10d-7b29-4e6f-a125-1fa623c2dc2a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/b78d4a93-64e0-4f48-9aa9-e693f1376e8c"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9cc0d10d-7b29-4e6f-a125-1fa623c2dc2a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "42938335"
+ } ],
+ "text": "Fexvomilzol"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b78d4a93-64e0-4f48-9aa9-e693f1376e8c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Moe Skeeto"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.xml
new file mode 100644
index 00000000..850016d7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_14610226/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/input.xml
new file mode 100644
index 00000000..f84cee95
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/log.txt
new file mode 100644
index 00000000..efde372c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/f28171be-18ad-480a-8b94-a02e2cf514be*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/f28171be-18ad-480a-8b94-a02e2cf514be*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/f28171be-18ad-480a-8b94-a02e2cf514be*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.json
new file mode 100644
index 00000000..9dcbb919
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "15a4f10b-78fc-4075-b2e4-03ee54033b61",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "f28171be-18ad-480a-8b94-a02e2cf514be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.000.011.203.695.62"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/87d8c536-ad20-4f40-8b08-d5b30570c3d9"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110499478"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/5e9d87a7-fc26-46d4-a882-4c63e95f33f4"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "87d8c536-ad20-4f40-8b08-d5b30570c3d9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "14659553"
+ } ],
+ "text": "Abaamisure"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5e9d87a7-fc26-46d4-a882-4c63e95f33f4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Anna Mull"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.xml
new file mode 100644
index 00000000..685b03ae
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_15a4f10b/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/input.xml
new file mode 100644
index 00000000..29283b0b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/log.txt
new file mode 100644
index 00000000..f2a7dcf5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5c2d5e28-b1dc-44b2-86ad-93abed48fd8e*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5c2d5e28-b1dc-44b2-86ad-93abed48fd8e*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5c2d5e28-b1dc-44b2-86ad-93abed48fd8e*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.json
new file mode 100644
index 00000000..788f115e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "2bcb39ce-3feb-4723-8c19-a364b387e445",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5c2d5e28-b1dc-44b2-86ad-93abed48fd8e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.765.77"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/bf3454db-19b7-4ea3-a812-179f8213122c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/7f0901e2-6adb-4ae7-8416-5dbbbed2c2fb"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "bf3454db-19b7-4ea3-a812-179f8213122c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7f0901e2-6adb-4ae7-8416-5dbbbed2c2fb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Tamara Knight"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.xml
new file mode 100644
index 00000000..f7b7dcc1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_2bcb39ce/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/input.xml
new file mode 100644
index 00000000..9fe7a8a9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/log.txt
new file mode 100644
index 00000000..10079e1b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/57a5b0e7-dd6d-49cb-a01b-1b639d5b7c4c*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/57a5b0e7-dd6d-49cb-a01b-1b639d5b7c4c*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/57a5b0e7-dd6d-49cb-a01b-1b639d5b7c4c*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.json
new file mode 100644
index 00000000..3eb00679
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "490093ae-7195-4f30-b325-5365e40fc8e4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "57a5b0e7-dd6d-49cb-a01b-1b639d5b7c4c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.000.011.203.690.77"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/9b61a532-6069-4dcc-afa5-d26a8e2340f6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/d2f25b90-f979-42e0-815c-3eeb51df8857"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9b61a532-6069-4dcc-afa5-d26a8e2340f6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "47126688"
+ } ],
+ "text": "Zytostatika"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d2f25b90-f979-42e0-815c-3eeb51df8857",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Rocky Beach"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.xml
new file mode 100644
index 00000000..10e0aca8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_490093ae/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/input.xml
new file mode 100644
index 00000000..fb97c062
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/log.txt
new file mode 100644
index 00000000..570d5fc5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/3e4ad421-4b31-4a3f-9af0-d8c4b227f248*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/3e4ad421-4b31-4a3f-9af0-d8c4b227f248*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/3e4ad421-4b31-4a3f-9af0-d8c4b227f248*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.json
new file mode 100644
index 00000000..cb0aad12
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "4ebfa209-3e53-4fd1-be62-60a077d0bbe3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "3e4ad421-4b31-4a3f-9af0-d8c4b227f248",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.999.22"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/fd4c80c4-7fc7-4dfa-a096-afa69437d050"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/f65fba8a-826e-452b-9074-f6d36de26c4a"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "fd4c80c4-7fc7-4dfa-a096-afa69437d050",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "27318836"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f65fba8a-826e-452b-9074-f6d36de26c4a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Evan Keel"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.xml
new file mode 100644
index 00000000..16c7e781
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_4ebfa209/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/input.xml
new file mode 100644
index 00000000..ec300962
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/log.txt
new file mode 100644
index 00000000..05916d7d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/bc82b0c1-e9b7-4c1a-9440-a201a7a66583*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/bc82b0c1-e9b7-4c1a-9440-a201a7a66583*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/bc82b0c1-e9b7-4c1a-9440-a201a7a66583*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.json
new file mode 100644
index 00000000..7972939c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "506e4daf-d63a-4770-91ec-d7db1f5aa478",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "bc82b0c1-e9b7-4c1a-9440-a201a7a66583",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.753.16"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/200ba224-64dc-4dc4-a233-55886290fcb1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/e2497f92-adc5-41a6-9633-348af408bd96"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "200ba224-64dc-4dc4-a233-55886290fcb1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e2497f92-adc5-41a6-9633-348af408bd96",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Jasmine Flowers"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.xml
new file mode 100644
index 00000000..67cee2dc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_506e4daf/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/input.xml
new file mode 100644
index 00000000..e90c9a7a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/log.txt
new file mode 100644
index 00000000..bad9b06a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/a1cc6022-6f63-4634-a3ab-e5192c20a736*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/a1cc6022-6f63-4634-a3ab-e5192c20a736*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/a1cc6022-6f63-4634-a3ab-e5192c20a736*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.json
new file mode 100644
index 00000000..e2139ab9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "543ea2ca-de98-43a6-b8ca-89dd1c9ac1ac",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "a1cc6022-6f63-4634-a3ab-e5192c20a736",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.525.73"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/b2db8d28-df6f-4d87-a714-e720bfe73115"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/eafc3e6d-686a-49f6-95bc-34ab5020a8cc"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b2db8d28-df6f-4d87-a714-e720bfe73115",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "eafc3e6d-686a-49f6-95bc-34ab5020a8cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Bob Inforapples"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.xml
new file mode 100644
index 00000000..1fc98dc6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_543ea2ca/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/input.xml
new file mode 100644
index 00000000..b2a927f6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/log.txt
new file mode 100644
index 00000000..30211047
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/f03b4799-b9a5-472f-8b6e-e38d9999d4e1*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/f03b4799-b9a5-472f-8b6e-e38d9999d4e1*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/f03b4799-b9a5-472f-8b6e-e38d9999d4e1*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.json
new file mode 100644
index 00000000..db0252f0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "64342c02-111c-4262-8714-877aeaf473cb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "f03b4799-b9a5-472f-8b6e-e38d9999d4e1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.000.011.203.687.86"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f2356417-0ec5-406f-86cc-445f1b4747dd"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/ba1196ed-0c61-492b-8566-5853e09fd567"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f2356417-0ec5-406f-86cc-445f1b4747dd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "60537835"
+ } ],
+ "text": "Zytostatika"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ba1196ed-0c61-492b-8566-5853e09fd567",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "U. O. Money"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.xml
new file mode 100644
index 00000000..5ba3dee2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_64342c02/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/input.xml
new file mode 100644
index 00000000..94007fff
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/log.txt
new file mode 100644
index 00000000..33f57336
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/08ce1643-c748-4aee-af4b-0e26e1097667*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/08ce1643-c748-4aee-af4b-0e26e1097667*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/08ce1643-c748-4aee-af4b-0e26e1097667*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.json
new file mode 100644
index 00000000..960a08cf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "687dff01-64a5-47e3-931d-b0d0d258312b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "08ce1643-c748-4aee-af4b-0e26e1097667",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.764.80"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/fca058d1-2fb7-434d-938f-282d6182ac10"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/0312b7ec-b96a-47d1-81fb-881b2e75a076"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "fca058d1-2fb7-434d-938f-282d6182ac10",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0312b7ec-b96a-47d1-81fb-881b2e75a076",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Pearl E White"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.xml
new file mode 100644
index 00000000..e7e2bc46
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_687dff01/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/input.xml
new file mode 100644
index 00000000..fb947824
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/log.txt
new file mode 100644
index 00000000..627196fa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/209331fb-44f8-40ba-8367-6ac0d345ea78*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/209331fb-44f8-40ba-8367-6ac0d345ea78*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/209331fb-44f8-40ba-8367-6ac0d345ea78*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.json
new file mode 100644
index 00000000..4a552f26
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "7be52e28-6841-40be-8b45-b9cd153efb50",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "209331fb-44f8-40ba-8367-6ac0d345ea78",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.807.48"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/a34bbecf-9dbb-4a41-afaa-cbb141a72ebe"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/50084b21-698c-4f40-a24f-9198952b14d4"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a34bbecf-9dbb-4a41-afaa-cbb141a72ebe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "50084b21-698c-4f40-a24f-9198952b14d4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Marty Graw"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.xml
new file mode 100644
index 00000000..3e377429
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_7be52e28/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/input.xml
new file mode 100644
index 00000000..d6ba8009
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/log.txt
new file mode 100644
index 00000000..493d845d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/f53ad09b-acbe-47be-963c-a69d3b8c94d4*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/f53ad09b-acbe-47be-963c-a69d3b8c94d4*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/f53ad09b-acbe-47be-963c-a69d3b8c94d4*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.json
new file mode 100644
index 00000000..16c1c893
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "809395bb-0e90-48c7-aee1-031d3e00ed62",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "f53ad09b-acbe-47be-963c-a69d3b8c94d4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.758.98"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/479ceadd-d74a-4a3e-8b2b-9bea105f6d23"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/2b964011-5765-4ffe-a49c-a08e19d7a42d"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "479ceadd-d74a-4a3e-8b2b-9bea105f6d23",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2b964011-5765-4ffe-a49c-a08e19d7a42d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ivan Oder"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.xml
new file mode 100644
index 00000000..57d570be
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_809395bb/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/input.xml
new file mode 100644
index 00000000..449f350a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/log.txt
new file mode 100644
index 00000000..53562017
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5181c149-c233-4159-b41d-8bdbbd1eb482*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5181c149-c233-4159-b41d-8bdbbd1eb482*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5181c149-c233-4159-b41d-8bdbbd1eb482*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.json
new file mode 100644
index 00000000..565805db
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "909027dd-3eda-4810-b443-65d4aa3fd8ed",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5181c149-c233-4159-b41d-8bdbbd1eb482",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.752.19"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/8e4c10de-6a5b-4b62-8d9a-f523f6733d0d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/6fe56858-4f22-415a-b83f-89cc052d0f6a"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8e4c10de-6a5b-4b62-8d9a-f523f6733d0d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6fe56858-4f22-415a-b83f-89cc052d0f6a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Darren Deeds"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.xml
new file mode 100644
index 00000000..88867f5c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_909027dd/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/input.xml
new file mode 100644
index 00000000..8e97c969
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/log.txt
new file mode 100644
index 00000000..d069fb52
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/2f13192f-d531-4025-b95b-f7d6115564be*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/2f13192f-d531-4025-b95b-f7d6115564be*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/2f13192f-d531-4025-b95b-f7d6115564be*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.json
new file mode 100644
index 00000000..373d6882
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "a7854089-258f-453b-bed4-de8af4095351",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "2f13192f-d531-4025-b95b-f7d6115564be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.769.65"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/8336ebe0-7c15-456a-b8e3-d600ef4daaed"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/cacc190a-d354-42ad-becc-0f496e44bdf3"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8336ebe0-7c15-456a-b8e3-d600ef4daaed",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "cacc190a-d354-42ad-becc-0f496e44bdf3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Tom A. Toe"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.xml
new file mode 100644
index 00000000..315ab2bd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_a7854089/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/input.xml
new file mode 100644
index 00000000..5e60cdc0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/log.txt
new file mode 100644
index 00000000..af4bbcc0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5dbdbe00-8463-4c6f-bf3d-4ea9775baed0*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5dbdbe00-8463-4c6f-bf3d-4ea9775baed0*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5dbdbe00-8463-4c6f-bf3d-4ea9775baed0*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.json
new file mode 100644
index 00000000..f9ad47ff
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "d71fba4b-dec6-4dc5-a6f2-1e068f480440",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5dbdbe00-8463-4c6f-bf3d-4ea9775baed0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.743.46"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/baca2cb9-e31f-4246-a5de-e87e9536f82f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/0298daee-1a1e-4e47-835d-3a9f662de25e"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "baca2cb9-e31f-4246-a5de-e87e9536f82f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0298daee-1a1e-4e47-835d-3a9f662de25e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Chuck Roast"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.xml
new file mode 100644
index 00000000..548745db
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d71fba4b/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/input.xml
new file mode 100644
index 00000000..1ce4c23c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/log.txt
new file mode 100644
index 00000000..7e1e3f39
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/52b16dbe-e5aa-4f86-a967-1933941669d3*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/52b16dbe-e5aa-4f86-a967-1933941669d3*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/52b16dbe-e5aa-4f86-a967-1933941669d3*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.json
new file mode 100644
index 00000000..9a7be7ca
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "d8468bee-bc16-4625-9fb9-7016bcb976f9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "52b16dbe-e5aa-4f86-a967-1933941669d3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.994.37"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/714f96d9-66d1-4bf1-ac22-ae05690261d6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/ef111b3b-c9fc-4e33-be6d-e12e86f11673"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "714f96d9-66d1-4bf1-ac22-ae05690261d6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "93081505"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef111b3b-c9fc-4e33-be6d-e12e86f11673",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Dusty Sandmann"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.xml
new file mode 100644
index 00000000..f89c8960
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_d8468bee/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/input.xml
new file mode 100644
index 00000000..2edf3102
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/log.txt
new file mode 100644
index 00000000..98b5899a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/e33b312d-3dff-43dd-8e0e-13102d756ab6*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/e33b312d-3dff-43dd-8e0e-13102d756ab6*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/e33b312d-3dff-43dd-8e0e-13102d756ab6*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.json
new file mode 100644
index 00000000..0753c242
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "e3418508-6823-48c9-aaa8-3fdea4e42467",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "e33b312d-3dff-43dd-8e0e-13102d756ab6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.766.74"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/627df8c3-c581-4698-a865-419fc31bf0cb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/563416ed-f7d7-4f04-821d-730139486d42"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "627df8c3-c581-4698-a865-419fc31bf0cb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "563416ed-f7d7-4f04-821d-730139486d42",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Lon Moore"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.xml
new file mode 100644
index 00000000..c488a2e9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_e3418508/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/input.xml
new file mode 100644
index 00000000..44b64ccc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/log.txt
new file mode 100644
index 00000000..8576262a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/a10521f6-7fc5-4297-bca3-3c1541d86d1b*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/a10521f6-7fc5-4297-bca3-3c1541d86d1b*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/a10521f6-7fc5-4297-bca3-3c1541d86d1b*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.json
new file mode 100644
index 00000000..c2a22822
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "f1564ba7-54d7-454d-8971-8a54e3bcf2b9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "a10521f6-7fc5-4297-bca3-3c1541d86d1b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.757.04"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/82a98e41-8f47-4b32-bd06-9cbfdc1870af"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/07b67d7d-4149-4611-9503-9bc00ae59866"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "82a98e41-8f47-4b32-bd06-9cbfdc1870af",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "07b67d7d-4149-4611-9503-9bc00ae59866",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Jack Dupp"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.xml
new file mode 100644
index 00000000..dd30b2aa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_f1564ba7/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/input.xml
new file mode 100644
index 00000000..b9114e7e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/log.txt
new file mode 100644
index 00000000..852fa1c0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/ec811acd-cd80-4523-83ac-dea90e7516c7*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/ec811acd-cd80-4523-83ac-dea90e7516c7*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/ec811acd-cd80-4523-83ac-dea90e7516c7*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.json
new file mode 100644
index 00000000..5bd85036
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "fa474a74-4244-4a8c-9baf-b1798814f773",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "ec811acd-cd80-4523-83ac-dea90e7516c7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.751.22"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/bcbbc11e-5301-4e8f-9b33-78716864df1b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/5a9f4694-f1dc-4e7e-b2bb-cbb259246d38"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "bcbbc11e-5301-4e8f-9b33-78716864df1b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5a9f4694-f1dc-4e7e-b2bb-cbb259246d38",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Winnie Bago"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.xml
new file mode 100644
index 00000000..4ef952d9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/008_Request_MedicationDispense_fa474a74/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/input.xml
new file mode 100644
index 00000000..e1af2c1b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/log.txt
new file mode 100644
index 00000000..1dd0517b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/692e8809-8ca3-4c69-a45c-eabfbec1e56e*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/692e8809-8ca3-4c69-a45c-eabfbec1e56e*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/692e8809-8ca3-4c69-a45c-eabfbec1e56e*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.json
new file mode 100644
index 00000000..fde86c3f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "0159fb4f-20e9-4517-9efc-06787501bf1a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "692e8809-8ca3-4c69-a45c-eabfbec1e56e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.760.92"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/429472a2-c6bd-4914-ab41-a2c17fe86fc9"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/001e1f7b-6a12-4f8c-b190-472bee2c6eff"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "429472a2-c6bd-4914-ab41-a2c17fe86fc9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "001e1f7b-6a12-4f8c-b190-472bee2c6eff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Rose Bush"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.xml
new file mode 100644
index 00000000..b735a726
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_0159fb4f/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/input.xml
new file mode 100644
index 00000000..095fdf46
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/log.txt
new file mode 100644
index 00000000..d67bb93a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5eaf8681-b078-4dc0-83f1-f661b78da84b*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5eaf8681-b078-4dc0-83f1-f661b78da84b*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5eaf8681-b078-4dc0-83f1-f661b78da84b*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.json
new file mode 100644
index 00000000..487b54cd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "1473f940-40b2-4d79-ac10-a7a7765f2a90",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5eaf8681-b078-4dc0-83f1-f661b78da84b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.768.68"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/32d9bf4d-8c4f-418e-8983-d7739c511e48"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/647c3af0-88ba-4f8d-a92d-f0265afb25cf"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "32d9bf4d-8c4f-418e-8983-d7739c511e48",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "647c3af0-88ba-4f8d-a92d-f0265afb25cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ricky T. Ladder"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.xml
new file mode 100644
index 00000000..8d01bf7a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1473f940/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/input.xml
new file mode 100644
index 00000000..4bcccf12
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/log.txt
new file mode 100644
index 00000000..df93b573
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1f54c022-2e26-43e1-af0f-ee78e9dbccc7*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1f54c022-2e26-43e1-af0f-ee78e9dbccc7*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1f54c022-2e26-43e1-af0f-ee78e9dbccc7*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.json
new file mode 100644
index 00000000..4deeb206
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "1f42e5b7-2ff9-45f9-9b26-f17e499d2f98",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1f54c022-2e26-43e1-af0f-ee78e9dbccc7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.006.463.677.05"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/6e660f8b-f884-4c7c-8ce4-79e4fd123b3f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "T046142499"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/eac390c8-ba32-4a9f-9654-73806e38d7e5"
+ }
+ } ],
+ "whenHandedOver": "2024-02-13"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "6e660f8b-f884-4c7c-8ce4-79e4fd123b3f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "eac390c8-ba32-4a9f-9654-73806e38d7e5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Al B. Tross"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.xml
new file mode 100644
index 00000000..e7b5adf5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_1f42e5b7/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/input.xml
new file mode 100644
index 00000000..554d3af8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/log.txt
new file mode 100644
index 00000000..ce9e9589
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5fc4a0c4-e8f0-495b-bc29-df58c3e6bb71*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5fc4a0c4-e8f0-495b-bc29-df58c3e6bb71*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5fc4a0c4-e8f0-495b-bc29-df58c3e6bb71*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.json
new file mode 100644
index 00000000..87c22c0a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "2789ac6b-5519-445e-9de6-e3fec49b103e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5fc4a0c4-e8f0-495b-bc29-df58c3e6bb71",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.549.98"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/ea6f83a5-a6fe-4fd1-a9ba-92531ae1479e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/1bb02171-c4c4-46f7-a091-a938a60dabb7"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ea6f83a5-a6fe-4fd1-a9ba-92531ae1479e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10642981"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1bb02171-c4c4-46f7-a091-a938a60dabb7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Rocky Mountain"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.xml
new file mode 100644
index 00000000..365495fd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_2789ac6b/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/input.xml
new file mode 100644
index 00000000..4410384c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/log.txt
new file mode 100644
index 00000000..bfd9bbc1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/899df179-1c49-410f-9ee8-3d4262d6b16c*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/899df179-1c49-410f-9ee8-3d4262d6b16c*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/899df179-1c49-410f-9ee8-3d4262d6b16c*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.json
new file mode 100644
index 00000000..33334ac1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "305be6c9-1651-44cf-9f2d-a86ebc9ba328",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "899df179-1c49-410f-9ee8-3d4262d6b16c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.759.95"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/84057297-c251-4e83-a750-3a7eb91395c0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/35114a29-9692-4573-af82-6d2c6c5e29d7"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "84057297-c251-4e83-a750-3a7eb91395c0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "35114a29-9692-4573-af82-6d2c6c5e29d7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Cammie Sole"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.xml
new file mode 100644
index 00000000..c1421e4c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_305be6c9/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/input.xml
new file mode 100644
index 00000000..618ca5e1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/log.txt
new file mode 100644
index 00000000..2de94eae
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/4c7d3215-2294-4893-940f-f91d8add93fe*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/4c7d3215-2294-4893-940f-f91d8add93fe*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/4c7d3215-2294-4893-940f-f91d8add93fe*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.json
new file mode 100644
index 00000000..a3623c4e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "31f38335-000d-4d7c-b4ee-1331abc65707",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "4c7d3215-2294-4893-940f-f91d8add93fe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.541.25"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f298c8bb-c7f1-4a41-9316-a77ebbeb6b1d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/e96c0836-6799-432f-bbff-73f7bd3beed4"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f298c8bb-c7f1-4a41-9316-a77ebbeb6b1d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "25582871"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e96c0836-6799-432f-bbff-73f7bd3beed4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ken Oppenner"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.xml
new file mode 100644
index 00000000..f06580f1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_31f38335/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/input.xml
new file mode 100644
index 00000000..cc9c9f54
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/log.txt
new file mode 100644
index 00000000..fe752585
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/622dc719-82e1-42c9-ad38-c2e544150be4*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/622dc719-82e1-42c9-ad38-c2e544150be4*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/622dc719-82e1-42c9-ad38-c2e544150be4*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.json
new file mode 100644
index 00000000..a8618f39
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "41e06295-5ccc-4ae3-a738-a0e6030003da",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "622dc719-82e1-42c9-ad38-c2e544150be4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.534.46"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/9963d024-ae2f-4565-85c7-34008fbca834"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/eaeb619e-d7fd-4435-93b0-2904176b5a8d"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9963d024-ae2f-4565-85c7-34008fbca834",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "24025068"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "eaeb619e-d7fd-4435-93b0-2904176b5a8d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Marty Graw"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.xml
new file mode 100644
index 00000000..636a9b8a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_41e06295/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/input.xml
new file mode 100644
index 00000000..0ccb27bc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/log.txt
new file mode 100644
index 00000000..bee77e10
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1c0a28ad-ced0-4413-b22e-04c4a9ed27a8*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1c0a28ad-ced0-4413-b22e-04c4a9ed27a8*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1c0a28ad-ced0-4413-b22e-04c4a9ed27a8*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.json
new file mode 100644
index 00000000..3ebb391e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "46b4d2a7-f2ba-4b1a-ad14-1731d827d643",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1c0a28ad-ced0-4413-b22e-04c4a9ed27a8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.996.31"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f53c0907-3a40-42ec-848f-48ceb7906047"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/24fe8926-4666-46df-bda7-375b359cf871"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f53c0907-3a40-42ec-848f-48ceb7906047",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "48094708"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24fe8926-4666-46df-bda7-375b359cf871",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Barry D'Alive"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.xml
new file mode 100644
index 00000000..c980cad3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_46b4d2a7/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/input.xml
new file mode 100644
index 00000000..6e5c0fa2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/log.txt
new file mode 100644
index 00000000..ee8fb9e9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/a85b131d-c51f-4ad4-96ef-17e3db45db4d*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/a85b131d-c51f-4ad4-96ef-17e3db45db4d*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/a85b131d-c51f-4ad4-96ef-17e3db45db4d*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.json
new file mode 100644
index 00000000..b32f15e6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "5113c40f-7095-412f-a528-68764428f802",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "a85b131d-c51f-4ad4-96ef-17e3db45db4d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.527.67"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/016f8628-5eb0-4096-a03b-619ac3c6f97c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/166848ed-fc7f-4d86-ba89-068022eea44b"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "016f8628-5eb0-4096-a03b-619ac3c6f97c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "64184374"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "166848ed-fc7f-4d86-ba89-068022eea44b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Jane Linkfence"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.xml
new file mode 100644
index 00000000..a089251e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_5113c40f/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/input.xml
new file mode 100644
index 00000000..f15ad6aa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/log.txt
new file mode 100644
index 00000000..d0c9e9d5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/3acfbf25-f75f-4263-9e22-ba6c3fecbb2c*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/3acfbf25-f75f-4263-9e22-ba6c3fecbb2c*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/3acfbf25-f75f-4263-9e22-ba6c3fecbb2c*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.json
new file mode 100644
index 00000000..3322d8c4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "59d671a6-8a13-4a30-a4d8-b1ddb814dac4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "3acfbf25-f75f-4263-9e22-ba6c3fecbb2c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.531.55"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/efc8d9a8-695d-4bd6-9a18-6a1d6c4a2fa4"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/057d3183-8df0-4527-893c-ae238fc47d13"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "efc8d9a8-695d-4bd6-9a18-6a1d6c4a2fa4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "74302188"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "057d3183-8df0-4527-893c-ae238fc47d13",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Robin Money"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.xml
new file mode 100644
index 00000000..adf2c4ec
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_59d671a6/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/input.xml
new file mode 100644
index 00000000..cf0cd819
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/log.txt
new file mode 100644
index 00000000..44ab98e3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/dc3ed2a9-f875-46f4-9620-2ae5d3c5c3aa*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/dc3ed2a9-f875-46f4-9620-2ae5d3c5c3aa*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/dc3ed2a9-f875-46f4-9620-2ae5d3c5c3aa*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.json
new file mode 100644
index 00000000..e56128e5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "622316fe-108f-4337-98a2-a381a20437bb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "dc3ed2a9-f875-46f4-9620-2ae5d3c5c3aa",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.995.34"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/b11c82bc-0edb-4dc1-b123-ca96041ae220"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/40ee5812-60e6-4913-a0f2-9d2b4a58e7ec"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b11c82bc-0edb-4dc1-b123-ca96041ae220",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "46260462"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "40ee5812-60e6-4913-a0f2-9d2b4a58e7ec",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Marlon Fisher"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.xml
new file mode 100644
index 00000000..75a41467
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_622316fe/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/input.xml
new file mode 100644
index 00000000..7afd51d9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/log.txt
new file mode 100644
index 00000000..6e29d378
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/881cfc4b-5dc9-49f3-9fe3-f3b9a2a425be*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/881cfc4b-5dc9-49f3-9fe3-f3b9a2a425be*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/881cfc4b-5dc9-49f3-9fe3-f3b9a2a425be*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.json
new file mode 100644
index 00000000..fc5e108a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "69d3fc0d-565e-4408-b839-7f310e808dd5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "881cfc4b-5dc9-49f3-9fe3-f3b9a2a425be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.763.83"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/b0111c67-cee0-40c7-8317-fca9de3dd3cf"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/907ed043-c1ba-447e-93d0-0ada1686bac1"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b0111c67-cee0-40c7-8317-fca9de3dd3cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "907ed043-c1ba-447e-93d0-0ada1686bac1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Candy Baskett"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.xml
new file mode 100644
index 00000000..49920e3f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_69d3fc0d/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/input.xml
new file mode 100644
index 00000000..197d98fa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/log.txt
new file mode 100644
index 00000000..cf94922a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/13e7780f-6980-49e6-838c-21c259d1ea80*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/13e7780f-6980-49e6-838c-21c259d1ea80*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/13e7780f-6980-49e6-838c-21c259d1ea80*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.json
new file mode 100644
index 00000000..a14dad1f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "87e0742e-cf60-4056-bffe-45c6358e2fa3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "13e7780f-6980-49e6-838c-21c259d1ea80",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.553.86"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/4b3714a7-196f-4ca3-83b1-00b1328831c6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/119ec027-0f26-4164-a8dd-ffaecf4c3090"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4b3714a7-196f-4ca3-83b1-00b1328831c6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09921210"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "119ec027-0f26-4164-a8dd-ffaecf4c3090",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Rusty Carr"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.xml
new file mode 100644
index 00000000..594a007c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_87e0742e/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/input.xml
new file mode 100644
index 00000000..b479b462
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/log.txt
new file mode 100644
index 00000000..90225507
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/daf0812b-d8ba-49ad-82ed-47da73042c44*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/daf0812b-d8ba-49ad-82ed-47da73042c44*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/daf0812b-d8ba-49ad-82ed-47da73042c44*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.json
new file mode 100644
index 00000000..5453db8d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "8dcafef9-25b9-4ea4-95cc-17c2ddbbb8cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "daf0812b-d8ba-49ad-82ed-47da73042c44",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.006.467.748.14"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/5d310ba4-f0a7-414b-b686-85356a3d6177"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "C020222113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/c933b4a3-16c2-4608-a5f7-c27f53f297b1"
+ }
+ } ],
+ "whenHandedOver": "2024-02-13"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "5d310ba4-f0a7-414b-b686-85356a3d6177",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c933b4a3-16c2-4608-a5f7-c27f53f297b1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Freida Convict"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.xml
new file mode 100644
index 00000000..52d32954
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_8dcafef9/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/input.xml
new file mode 100644
index 00000000..3bbc626d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/log.txt
new file mode 100644
index 00000000..ffa286a3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/cccef013-a40f-43a2-bc8a-bae61486c2a8*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/cccef013-a40f-43a2-bc8a-bae61486c2a8*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/cccef013-a40f-43a2-bc8a-bae61486c2a8*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.json
new file mode 100644
index 00000000..b1b86df6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "a6f5fbec-d552-4ad5-8e1c-effcf08236a5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "cccef013-a40f-43a2-bc8a-bae61486c2a8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.550.95"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/8b699a08-f6cc-4793-ba18-71d812b6b55b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/8d4a470a-d62a-4021-9141-9f1809feb2bb"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8b699a08-f6cc-4793-ba18-71d812b6b55b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16833239"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8d4a470a-d62a-4021-9141-9f1809feb2bb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Rick Kleiner"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.xml
new file mode 100644
index 00000000..75fbfabf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a6f5fbec/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/input.xml
new file mode 100644
index 00000000..4d9d9f1c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/log.txt
new file mode 100644
index 00000000..e7687900
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/8fc9ab16-8927-4558-aa8b-b90d5cd8c5ad*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/8fc9ab16-8927-4558-aa8b-b90d5cd8c5ad*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/8fc9ab16-8927-4558-aa8b-b90d5cd8c5ad*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.json
new file mode 100644
index 00000000..efaf75f1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "a86d9701-63b8-4fb5-92ac-c556864f55f8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "8fc9ab16-8927-4558-aa8b-b90d5cd8c5ad",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.532.52"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/e86fff12-506e-4b27-a8cd-7c63538093b8"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/3ce324ff-4fba-4f9f-81f6-bce03a3f85db"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e86fff12-506e-4b27-a8cd-7c63538093b8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "22477205"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3ce324ff-4fba-4f9f-81f6-bce03a3f85db",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Macon Paine"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.xml
new file mode 100644
index 00000000..12ea42c6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_a86d9701/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/input.xml
new file mode 100644
index 00000000..8acadf67
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/log.txt
new file mode 100644
index 00000000..e9d2e956
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1c526c5a-f81c-4607-95e0-bc5eb1f9779d*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1c526c5a-f81c-4607-95e0-bc5eb1f9779d*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1c526c5a-f81c-4607-95e0-bc5eb1f9779d*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.json
new file mode 100644
index 00000000..47ef5848
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "c30c0754-1df3-4a74-921b-6b3b8b8dfdcd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1c526c5a-f81c-4607-95e0-bc5eb1f9779d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.767.71"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f62ac42a-37d5-4cf4-b077-4fd136974aa3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/f5d6b70e-74e2-494f-926c-3a3523709b90"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f62ac42a-37d5-4cf4-b077-4fd136974aa3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f5d6b70e-74e2-494f-926c-3a3523709b90",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ken Oppenner"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.xml
new file mode 100644
index 00000000..92c0a36b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c30c0754/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/input.xml
new file mode 100644
index 00000000..2fd55595
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/log.txt
new file mode 100644
index 00000000..1f3c9f8a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/ca683361-26af-4e93-9889-7adc28390616*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/ca683361-26af-4e93-9889-7adc28390616*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/ca683361-26af-4e93-9889-7adc28390616*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.json
new file mode 100644
index 00000000..26cf2755
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "c48e8331-3bda-4327-b5d9-4bcb759a20d3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "ca683361-26af-4e93-9889-7adc28390616",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.533.49"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/6a8a7e5c-3d20-4865-8d1a-66282716475c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/618efaf8-1bf2-44ab-b8c4-0826a09d15de"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "6a8a7e5c-3d20-4865-8d1a-66282716475c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "84264572"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "618efaf8-1bf2-44ab-b8c4-0826a09d15de",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sue Yu"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.xml
new file mode 100644
index 00000000..642904ff
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c48e8331/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/input.xml
new file mode 100644
index 00000000..f16af8bc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/log.txt
new file mode 100644
index 00000000..df967ec3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5c4c02f7-c57e-4c49-89d5-543edddeb044*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5c4c02f7-c57e-4c49-89d5-543edddeb044*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5c4c02f7-c57e-4c49-89d5-543edddeb044*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.json
new file mode 100644
index 00000000..ef5e98f7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "c591a1e2-17e8-4465-90db-c8ba7d32a58d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5c4c02f7-c57e-4c49-89d5-543edddeb044",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.552.89"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/4534d1e6-4e68-4e25-a3e3-41cbaced349b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/b025a72b-a273-42cf-8ba2-d0df27741a5d"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4534d1e6-4e68-4e25-a3e3-41cbaced349b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "72828845"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b025a72b-a273-42cf-8ba2-d0df27741a5d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Leo Tarred"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.xml
new file mode 100644
index 00000000..afc07c06
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_c591a1e2/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/input.xml
new file mode 100644
index 00000000..8175c677
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/log.txt
new file mode 100644
index 00000000..4c83f58f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/b7a28d32-4d14-4f63-83bf-f61d55be42c8*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/b7a28d32-4d14-4f63-83bf-f61d55be42c8*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/b7a28d32-4d14-4f63-83bf-f61d55be42c8*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.json
new file mode 100644
index 00000000..5618808f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "cb07b09c-f119-46e8-9e79-47c4e4f969d3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "b7a28d32-4d14-4f63-83bf-f61d55be42c8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.554.83"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/1d78c156-1e3d-48a4-af41-9404a47b6718"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/72b066e1-6656-4fec-b4db-e36683d36836"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1d78c156-1e3d-48a4-af41-9404a47b6718",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "89414303"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "72b066e1-6656-4fec-b4db-e36683d36836",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Val Lay"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.xml
new file mode 100644
index 00000000..3f753938
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_cb07b09c/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/input.xml
new file mode 100644
index 00000000..b28f68f9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/log.txt
new file mode 100644
index 00000000..9ae2f506
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/11dd4e6d-5f45-4606-b24d-06af0cbde788*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/11dd4e6d-5f45-4606-b24d-06af0cbde788*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/11dd4e6d-5f45-4606-b24d-06af0cbde788*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.json
new file mode 100644
index 00000000..8afc79b5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "d1d6a359-1708-464f-a947-1d6dfa146572",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "11dd4e6d-5f45-4606-b24d-06af0cbde788",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.529.61"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f008b0b0-d60c-4ac4-b56c-62b3caf4a291"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/975b7055-e8f5-4cbe-804b-da9995ae3fb2"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f008b0b0-d60c-4ac4-b56c-62b3caf4a291",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "94890460"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "975b7055-e8f5-4cbe-804b-da9995ae3fb2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Harry Pitts"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.xml
new file mode 100644
index 00000000..1b5b36c4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_d1d6a359/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/input.xml
new file mode 100644
index 00000000..3d92adac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/log.txt
new file mode 100644
index 00000000..15991b26
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/26e0c719-0a3f-4f27-a801-028d6450c0e7*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/26e0c719-0a3f-4f27-a801-028d6450c0e7*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/26e0c719-0a3f-4f27-a801-028d6450c0e7*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.json
new file mode 100644
index 00000000..124c7366
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "e8d5ccd4-4bf3-4469-975e-4b22b5d9524c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "26e0c719-0a3f-4f27-a801-028d6450c0e7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.551.92"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/ba6e6fbd-5f10-4186-8d2a-ab7230c49544"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/cbd95f90-abbf-41d5-bc78-44e3e79cfdf5"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ba6e6fbd-5f10-4186-8d2a-ab7230c49544",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "30978281"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "cbd95f90-abbf-41d5-bc78-44e3e79cfdf5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Chanda Lear"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.xml
new file mode 100644
index 00000000..325556d9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/009_Request_MedicationDispense_e8d5ccd4/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/input.xml
new file mode 100644
index 00000000..465aba8c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/log.txt
new file mode 100644
index 00000000..31aee872
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/04406213-dbd8-42bd-9b2e-b5fad0de91ee*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/04406213-dbd8-42bd-9b2e-b5fad0de91ee*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/04406213-dbd8-42bd-9b2e-b5fad0de91ee*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.json
new file mode 100644
index 00000000..f61e1040
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "71f76f82-d7ac-4c7b-81c0-6bc2ac21b214",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "04406213-dbd8-42bd-9b2e-b5fad0de91ee",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.765.77"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f7ccd232-95fc-415b-b456-db9bacde4053"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/5a6e2e4d-a423-4ede-8f86-b6fcf8483d77"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f7ccd232-95fc-415b-b456-db9bacde4053",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "07943704"
+ } ],
+ "text": "Calglucoor"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "AMP"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "3"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5a6e2e4d-a423-4ede-8f86-b6fcf8483d77",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Rusty Nails"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.xml
new file mode 100644
index 00000000..70291ccf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_71f76f82/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/input.xml
new file mode 100644
index 00000000..f7af900a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/log.txt
new file mode 100644
index 00000000..eeb3e676
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/972cc4b0-e611-41f6-8766-73b16edb42e7*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/972cc4b0-e611-41f6-8766-73b16edb42e7*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/972cc4b0-e611-41f6-8766-73b16edb42e7*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.json
new file mode 100644
index 00000000..56897103
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "a00e4916-cb4e-49aa-b284-12aa140ee21c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "972cc4b0-e611-41f6-8766-73b16edb42e7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.766.74"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/21209f1a-c1a3-4855-8efd-638bd0eec6b6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/13fd691a-6b13-4089-988a-93c7009553bf"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "21209f1a-c1a3-4855-8efd-638bd0eec6b6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "13fd691a-6b13-4089-988a-93c7009553bf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Gene Poole"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.xml
new file mode 100644
index 00000000..9bd708f5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a00e4916/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/input.xml
new file mode 100644
index 00000000..d71a4f4e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/log.txt
new file mode 100644
index 00000000..1df5d00e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/74dfb819-8859-4ac0-aff7-dc3c2e3f3c69*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/74dfb819-8859-4ac0-aff7-dc3c2e3f3c69*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/74dfb819-8859-4ac0-aff7-dc3c2e3f3c69*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.json
new file mode 100644
index 00000000..b2e64a02
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "a8177c29-496f-4d08-baf8-dfd1d68689d0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "74dfb819-8859-4ac0-aff7-dc3c2e3f3c69",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.756.07"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/06d5afce-1232-42c7-9752-82bb6f2c6b3d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/897022ff-6598-486e-a082-5a30200ccc44"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "06d5afce-1232-42c7-9752-82bb6f2c6b3d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "897022ff-6598-486e-a082-5a30200ccc44",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ken Oppenner"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.xml
new file mode 100644
index 00000000..d994fe7b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/010_Request_MedicationDispense_a8177c29/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/input.xml
new file mode 100644
index 00000000..ac813601
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/log.txt
new file mode 100644
index 00000000..56eb6051
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1157c654-9aea-466c-9d5d-bf22a3d58f7f*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1157c654-9aea-466c-9d5d-bf22a3d58f7f*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1157c654-9aea-466c-9d5d-bf22a3d58f7f*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.json
new file mode 100644
index 00000000..aed921fe
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "56e40195-7067-47d3-ab41-a4cf42a05296",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1157c654-9aea-466c-9d5d-bf22a3d58f7f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.528.64"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/427100be-8192-4f77-9ce8-7c94dfd92b50"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/35f16e80-5d9f-46fa-b9a7-d6fd820f6929"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "427100be-8192-4f77-9ce8-7c94dfd92b50",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "87002772"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "35f16e80-5d9f-46fa-b9a7-d6fd820f6929",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sue Jeu"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.xml
new file mode 100644
index 00000000..92bba40d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_56e40195/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/input.xml
new file mode 100644
index 00000000..1838fc0c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/log.txt
new file mode 100644
index 00000000..e2651182
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/a664a3ff-21d3-4afa-9ca2-12b8d61cb9d6*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/a664a3ff-21d3-4afa-9ca2-12b8d61cb9d6*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/a664a3ff-21d3-4afa-9ca2-12b8d61cb9d6*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.json
new file mode 100644
index 00000000..31809d27
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "6dcbcf82-f25c-4102-a11f-eb83dddba26c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "a664a3ff-21d3-4afa-9ca2-12b8d61cb9d6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.530.58"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/7aeeb28b-0171-4e21-a676-b8de881c827e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/d031b1d8-d621-42e2-8319-035794b4b1dc"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7aeeb28b-0171-4e21-a676-b8de881c827e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "78632037"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d031b1d8-d621-42e2-8319-035794b4b1dc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Pepe C. Cola"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.xml
new file mode 100644
index 00000000..eaedec8f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_6dcbcf82/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/input.xml
new file mode 100644
index 00000000..0d5ea6ac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/log.txt
new file mode 100644
index 00000000..550a4d2f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/c697346c-8d38-47e4-b742-f34360ef8da5*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/c697346c-8d38-47e4-b742-f34360ef8da5*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/c697346c-8d38-47e4-b742-f34360ef8da5*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.json
new file mode 100644
index 00000000..9f1b7c5e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "72acb68b-0890-44a6-a4ac-30a7b4805603",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "c697346c-8d38-47e4-b742-f34360ef8da5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.535.43"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/36b846df-9e36-45c0-b514-fa2f78b83597"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/4ade94a8-466f-4d78-8730-9117bd12d300"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "36b846df-9e36-45c0-b514-fa2f78b83597",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "87382645"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4ade94a8-466f-4d78-8730-9117bd12d300",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ann Tartica"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.xml
new file mode 100644
index 00000000..488d4493
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_72acb68b/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/input.xml
new file mode 100644
index 00000000..ae753ab9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/log.txt
new file mode 100644
index 00000000..146dc203
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1f782855-49ff-444e-9f84-65399de25069*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1f782855-49ff-444e-9f84-65399de25069*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1f782855-49ff-444e-9f84-65399de25069*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.json
new file mode 100644
index 00000000..03c0d785
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "d356fb06-52bd-4bec-8a3f-e7d697e98311",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1f782855-49ff-444e-9f84-65399de25069",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.526.70"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/3397b250-cae7-48c0-beb4-19905e20e18e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/21bbb410-883f-4c0a-8c49-60e30f2149e6"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3397b250-cae7-48c0-beb4-19905e20e18e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10256692"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "21bbb410-883f-4c0a-8c49-60e30f2149e6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Jim Shu"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.xml
new file mode 100644
index 00000000..488a847e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/011_Request_MedicationDispense_d356fb06/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/input.xml
new file mode 100644
index 00000000..f99a14a1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/log.txt
new file mode 100644
index 00000000..fa02d227
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/45e96e8e-35dc-4ddf-94d6-91fb6bda6554*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/45e96e8e-35dc-4ddf-94d6-91fb6bda6554*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/45e96e8e-35dc-4ddf-94d6-91fb6bda6554*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.json
new file mode 100644
index 00000000..946a4b47
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "91805a70-a169-4b52-a112-bebfd7d6c684",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "45e96e8e-35dc-4ddf-94d6-91fb6bda6554",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.742.49"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/70dae982-1df9-4c95-9355-8ca605b9ac49"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/0604cadb-29a6-4294-adca-5696ec900758"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "70dae982-1df9-4c95-9355-8ca605b9ac49",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0604cadb-29a6-4294-adca-5696ec900758",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Lina Ginster"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.xml
new file mode 100644
index 00000000..4a50783c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/013_Request_MedicationDispense_91805a70/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/input.xml
new file mode 100644
index 00000000..10094e85
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/log.txt
new file mode 100644
index 00000000..c5d2ed40
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5c24a502-e0ee-4b4a-9899-10c3b5439cb3*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5c24a502-e0ee-4b4a-9899-10c3b5439cb3*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5c24a502-e0ee-4b4a-9899-10c3b5439cb3*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.json
new file mode 100644
index 00000000..7be526cd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "2d9f6ecc-8ba4-4f44-9b15-f1c117f2c968",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5c24a502-e0ee-4b4a-9899-10c3b5439cb3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.740.55"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/1d411ce2-efee-498b-8f1f-a305c91a4b29"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/365710fe-da63-4d6d-8a2e-13adabc9ada6"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1d411ce2-efee-498b-8f1f-a305c91a4b29",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "365710fe-da63-4d6d-8a2e-13adabc9ada6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Aretha Holly"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.xml
new file mode 100644
index 00000000..20f7b567
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_2d9f6ecc/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/input.xml
new file mode 100644
index 00000000..1dbebf06
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/log.txt
new file mode 100644
index 00000000..a7517813
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/7be2ed47-ebcd-42b0-b7a5-4e75f427cca2*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/7be2ed47-ebcd-42b0-b7a5-4e75f427cca2*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/7be2ed47-ebcd-42b0-b7a5-4e75f427cca2*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.json
new file mode 100644
index 00000000..33abce7b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "e08671c3-76b4-4b6f-8051-f1a6212a5ab6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "7be2ed47-ebcd-42b0-b7a5-4e75f427cca2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.745.40"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/addd277a-17d2-4b39-9db0-37231a92e5a2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110498565"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/abe7a303-a482-4a0f-805e-46e360692593"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "addd277a-17d2-4b39-9db0-37231a92e5a2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "abe7a303-a482-4a0f-805e-46e360692593",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Rosie Peach"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.xml
new file mode 100644
index 00000000..91e06b81
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/014_Request_MedicationDispense_e08671c3/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/input.xml
new file mode 100644
index 00000000..36962cd8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/input.xml
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/log.txt
new file mode 100644
index 00000000..1c6fbcd0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/e09745de-6981-430c-a887-346ec451aac8*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/e09745de-6981-430c-a887-346ec451aac8*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/e09745de-6981-430c-a887-346ec451aac8*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.json
new file mode 100644
index 00000000..387a228d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "8d0f44ed-ba9d-4355-9a7c-e29f776e671e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "e09745de-6981-430c-a887-346ec451aac8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.123.456.789.123.58"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/39c77767-8779-4051-b9e6-ad63ce96b84f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X123456789"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/4c541f5d-3494-452d-a15c-a1289c496773"
+ }
+ } ],
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ },
+ "whenHandedOver": "2020-03-20",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "39c77767-8779-4051-b9e6-ad63ce96b84f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4c541f5d-3494-452d-a15c-a1289c496773",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000129070"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Noah Lott"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.xml
new file mode 100644
index 00000000..200e5af1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_8d0f44ed/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/input.xml
new file mode 100644
index 00000000..36962cd8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/input.xml
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/log.txt
new file mode 100644
index 00000000..ced91e99
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/82a2b5e5-a5b7-4166-8124-b1aa23f4188b*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/82a2b5e5-a5b7-4166-8124-b1aa23f4188b*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/82a2b5e5-a5b7-4166-8124-b1aa23f4188b*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.json
new file mode 100644
index 00000000..57340ad9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "c8335ed8-a02c-4e00-9ab8-bd8746c0359d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "82a2b5e5-a5b7-4166-8124-b1aa23f4188b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.123.456.789.123.58"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/d5f12600-120d-44fb-a074-d2906ab6451f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X123456789"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/a40149f7-fb86-477f-a00e-2451aacaf1fb"
+ }
+ } ],
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ },
+ "whenHandedOver": "2020-03-20",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "d5f12600-120d-44fb-a074-d2906ab6451f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a40149f7-fb86-477f-a00e-2451aacaf1fb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000129070"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Max Little"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.xml
new file mode 100644
index 00000000..d607dd9f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/06_request_taskClose_c8335ed8/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/input.xml
new file mode 100644
index 00000000..f1daf1cf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/log.txt
new file mode 100644
index 00000000..ab0cc401
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/7a7ecac6-bae0-46e3-8e75-d3df70d287cd*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/7a7ecac6-bae0-46e3-8e75-d3df70d287cd*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/7a7ecac6-bae0-46e3-8e75-d3df70d287cd*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.json
new file mode 100644
index 00000000..afcd0bf1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "00c96c80-208f-4de1-bbeb-1349e65511c5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "7a7ecac6-bae0-46e3-8e75-d3df70d287cd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.123.456.789.123.58"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/4541772b-0d6b-4ad7-ad65-d7228c2563f0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X123456789"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/d73ff990-a66b-4780-8721-50e40a9f6fb3"
+ }
+ } ],
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ },
+ "whenHandedOver": "2020-03-20",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4541772b-0d6b-4ad7-ad65-d7228c2563f0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d73ff990-a66b-4780-8721-50e40a9f6fb3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000129070"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Marge Innastraightline"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.xml
new file mode 100644
index 00000000..81ee6f30
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_00c96c80/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/input.xml
new file mode 100644
index 00000000..f1daf1cf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/log.txt
new file mode 100644
index 00000000..8152eb30
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/16601a69-3d53-40e8-87fc-24bc59269b03*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/16601a69-3d53-40e8-87fc-24bc59269b03*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/16601a69-3d53-40e8-87fc-24bc59269b03*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.json
new file mode 100644
index 00000000..14c9b3f1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "816796a2-43da-40af-ac43-4e12db041d84",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "16601a69-3d53-40e8-87fc-24bc59269b03",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.123.456.789.123.58"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/1698850b-7197-46ef-8a93-19f9d049177e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X123456789"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/ced1fe02-4870-4818-918b-97c040223986"
+ }
+ } ],
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ },
+ "whenHandedOver": "2020-03-20",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1698850b-7197-46ef-8a93-19f9d049177e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ced1fe02-4870-4818-918b-97c040223986",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000129070"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Bowen Arrow"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.xml
new file mode 100644
index 00000000..a1d340aa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/08_response_taskDispense_816796a2/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/input.xml
new file mode 100644
index 00000000..230e7aee
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/input.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/log.txt
new file mode 100644
index 00000000..6ccf46ce
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/a64d1597-98d6-468e-8731-17d5f6e54ae6*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/a64d1597-98d6-468e-8731-17d5f6e54ae6*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/a64d1597-98d6-468e-8731-17d5f6e54ae6*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.json
new file mode 100644
index 00000000..4e6cb843
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "999890a5-2154-4ab2-b872-c80159ea9784",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "a64d1597-98d6-468e-8731-17d5f6e54ae6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.204.02"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/b89435bd-555e-494d-a008-39d2736b3445"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "Z828875733"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/af007230-3251-4dee-8f15-29031f4c77db"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T09:29:09+02:00",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b89435bd-555e-494d-a008-39d2736b3445",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "04866280"
+ } ],
+ "text": "Sumatriptan Dura 100mg"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "12"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "af007230-3251-4dee-8f15-29031f4c77db",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Michelle Lynn"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.xml
new file mode 100644
index 00000000..9cc303cb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.204.02_medicationdispense_Sumatriptan_PZN_999890a5/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/input.xml
new file mode 100644
index 00000000..121a322a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/input.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/log.txt
new file mode 100644
index 00000000..ad52c23b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/f6eb0363-7cd3-49f7-bbfa-83223a1c2f37*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/f6eb0363-7cd3-49f7-bbfa-83223a1c2f37*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/f6eb0363-7cd3-49f7-bbfa-83223a1c2f37*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.json
new file mode 100644
index 00000000..a77ff879
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "23f44f6a-bd12-4117-88b5-b60ad66ed241",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "f6eb0363-7cd3-49f7-bbfa-83223a1c2f37",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.206.93"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/62221c9f-c802-4c83-ad5b-f7d0047f2863"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110474905"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/8f903d89-d9f1-4db5-9ad8-3532a4726b36"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T09:34:04+02:00",
+ "dosageInstruction": [ {
+ "text": "1 Pflaster am Tag"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "62221c9f-c802-4c83-ad5b-f7d0047f2863",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "18369912"
+ } ],
+ "text": "Rotigotin Neurax 8mg/24H"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PFT"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "7"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8f903d89-d9f1-4db5-9ad8-3532a4726b36",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sue Yu"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.xml
new file mode 100644
index 00000000..2c98d2fc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.206.93_medicationdispense_Neupro_PZN_23f44f6a/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/input.xml
new file mode 100644
index 00000000..18049ec3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/input.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/log.txt
new file mode 100644
index 00000000..f25bb2c5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/48875864-d66b-459a-8def-9148847024f1*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/48875864-d66b-459a-8def-9148847024f1*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/48875864-d66b-459a-8def-9148847024f1*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.json
new file mode 100644
index 00000000..573d5c08
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "3f68539a-40a1-471e-97d1-bbe3c72ed880",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "48875864-d66b-459a-8def-9148847024f1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.215.66"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/373328a0-6b69-49ae-9f8c-b053afb52f26"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "Z828875733"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/8ecb3707-388f-4d29-bac7-231eea8e0c7c"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T09:36:50+02:00",
+ "dosageInstruction": [ {
+ "text": "2mal tägl. 5ml"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "373328a0-6b69-49ae-9f8c-b053afb52f26",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08585997"
+ } ],
+ "text": "Prospan Hustensaft"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FLE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8ecb3707-388f-4d29-bac7-231eea8e0c7c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Frank N. Stein"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.xml
new file mode 100644
index 00000000..9a8d9e24
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.215.66_medicationdispense_3Prospan_PZN_3f68539a/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/input.xml
new file mode 100644
index 00000000..47be038a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/input.xml
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/log.txt
new file mode 100644
index 00000000..7cbe259e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/d2f45e7c-a05a-4ee9-b0e7-71e6375eeb20*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/d2f45e7c-a05a-4ee9-b0e7-71e6375eeb20*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/d2f45e7c-a05a-4ee9-b0e7-71e6375eeb20*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.json
new file mode 100644
index 00000000..d1d22440
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "45fb16f7-ce16-44d4-97df-64d1e1e39088",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "d2f45e7c-a05a-4ee9-b0e7-71e6375eeb20",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.241.85"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/477d3b53-c1c5-494d-bfca-ed6642f4103f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H064287850"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/bb4052f5-8d6f-4b32-836a-1e2bc7d8a4cf"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T09:51:11+02:00"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "477d3b53-c1c5-494d-bfca-ed6642f4103f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16875114"
+ } ],
+ "text": "Salmeterol/Flut AL50/250UG"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "IHP"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "180"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "bb4052f5-8d6f-4b32-836a-1e2bc7d8a4cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Myra Maines"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.xml
new file mode 100644
index 00000000..1bd6c101
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.241.85_medicationdispense_6Viani_PZN_45fb16f7/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/input.xml
new file mode 100644
index 00000000..801b9304
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/input.xml
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/log.txt
new file mode 100644
index 00000000..47b8e41e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/d585f5a6-4986-4f04-a0bc-938647cd7550*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/d585f5a6-4986-4f04-a0bc-938647cd7550*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/d585f5a6-4986-4f04-a0bc-938647cd7550*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.json
new file mode 100644
index 00000000..9ff59e76
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "b4649170-3da8-4718-a7b4-ad6c319ca22c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "d585f5a6-4986-4f04-a0bc-938647cd7550",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.373.77"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/a990dd66-180c-4745-afd6-631c2fc13556"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "Z828875733"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/718969bb-5483-4033-a352-c874ebb9bf44"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T11:30:42+02:00"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a990dd66-180c-4745-afd6-631c2fc13556",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "17974137"
+ } ],
+ "text": "Sitagliptin Glenmark 50mg"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "98"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "718969bb-5483-4033-a352-c874ebb9bf44",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Trina Woods"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.xml
new file mode 100644
index 00000000..4abbd8e1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.373.77_medicationdispense_5Januvia_PZN_b4649170/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/input.xml
new file mode 100644
index 00000000..b9ef60ad
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/input.xml
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/log.txt
new file mode 100644
index 00000000..ddaad8a6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/8c44edd0-54f0-4f81-9a78-550bc0cafbdb*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/8c44edd0-54f0-4f81-9a78-550bc0cafbdb*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/8c44edd0-54f0-4f81-9a78-550bc0cafbdb*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.json
new file mode 100644
index 00000000..691d1254
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.json
@@ -0,0 +1,209 @@
+{
+ "resourceType": "Parameters",
+ "id": "b914a021-068e-4159-bcd4-c771078f1359",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "8c44edd0-54f0-4f81-9a78-550bc0cafbdb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.549.34"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/72597342-3176-4f50-ab01-caa0fc03952e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "Z828875733"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/55d2eb4c-edba-4faf-9ac7-eb4457eceaa0"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T11:01:36+02:00",
+ "dosageInstruction": [ {
+ "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "72597342-3176-4f50-ab01-caa0fc03952e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Lösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Salicylsäure"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "5g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "2-propanol 70 %"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 100 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "55d2eb4c-edba-4faf-9ac7-eb4457eceaa0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Eli Ondefloor"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.xml
new file mode 100644
index 00000000..54343f9a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.549.34_medicationdispense_Rezeptur_b914a021/output.xml
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/input.xml
new file mode 100644
index 00000000..46d030f2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/input.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/log.txt
new file mode 100644
index 00000000..f8679c11
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1048a282-d7a6-4480-80bb-3dec94443be1*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1048a282-d7a6-4480-80bb-3dec94443be1*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1048a282-d7a6-4480-80bb-3dec94443be1*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.json
new file mode 100644
index 00000000..296b65a3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "1bcfef7e-c3c9-4a60-9645-a5d5c00cff32",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1048a282-d7a6-4480-80bb-3dec94443be1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.564.86"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/859e22f9-9ed1-4f2d-92f1-66ed4c868abc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110474905"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/4e36ec1b-6365-460c-ba9f-476ae9803e26"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T11:15:00+02:00",
+ "dosageInstruction": [ {
+ "text": "Dj"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "859e22f9-9ed1-4f2d-92f1-66ed4c868abc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L Thyroxin 75 Henning"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4e36ec1b-6365-460c-ba9f-476ae9803e26",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Adam Meway"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.xml
new file mode 100644
index 00000000..65dba22a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.564.86_medicationdispense_MVO_1bcfef7e/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/input.xml
new file mode 100644
index 00000000..3a28e2d1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/input.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/log.txt
new file mode 100644
index 00000000..75853991
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/ea698b6b-d02b-4233-b087-541a9fb95d22*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/ea698b6b-d02b-4233-b087-541a9fb95d22*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/ea698b6b-d02b-4233-b087-541a9fb95d22*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.json
new file mode 100644
index 00000000..69fde0eb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "419166cf-b8e3-4e4a-92cf-bd4bbe5a069e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "ea698b6b-d02b-4233-b087-541a9fb95d22",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.593.96"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/4cc9201f-e5be-46d9-bfb9-1aaca5a3e5b8"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "Z828875733"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/50e7f1d6-561c-454d-96a8-820e189c39cc"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T11:22:37+02:00",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4cc9201f-e5be-46d9-bfb9-1aaca5a3e5b8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00476441"
+ } ],
+ "text": "Lisinopril 10 Heumann"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "50e7f1d6-561c-454d-96a8-820e189c39cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Joe King"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.xml
new file mode 100644
index 00000000..4275ef3c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.593.96_medicationdispense_Wirkstoff_mit_Austausch_419166cf/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/input.xml
new file mode 100644
index 00000000..b0c3a75f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/input.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/log.txt
new file mode 100644
index 00000000..d76aa49c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/cb6b7028-1854-4110-a712-0b80ff600636*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/cb6b7028-1854-4110-a712-0b80ff600636*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/cb6b7028-1854-4110-a712-0b80ff600636*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.json
new file mode 100644
index 00000000..aa327f83
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "69fc18af-c5b2-4cef-9de0-d7bb948add8b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "cb6b7028-1854-4110-a712-0b80ff600636",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.627.91"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/b94ddd55-f571-4fdd-9833-fa380c50686d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110450929"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/32db6f61-95fb-4976-be0a-79541a820ab4"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T11:18:44+02:00",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b94ddd55-f571-4fdd-9833-fa380c50686d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00766759"
+ } ],
+ "text": "Ramipril 1A Pharma 5 mg"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "32db6f61-95fb-4976-be0a-79541a820ab4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Olive Branch"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.xml
new file mode 100644
index 00000000..15b1987f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.627.91_medicationdispense_WST_69fc18af/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/input.xml
new file mode 100644
index 00000000..ceb4ed61
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/input.xml
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/log.txt
new file mode 100644
index 00000000..34bfc232
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/ffcc6c32-6323-4f62-873e-e48be56c490d*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/ffcc6c32-6323-4f62-873e-e48be56c490d*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/ffcc6c32-6323-4f62-873e-e48be56c490d*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.json
new file mode 100644
index 00000000..fde0f390
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "a6ff8551-72db-4f6e-b6ac-71d58e804cb5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "ffcc6c32-6323-4f62-873e-e48be56c490d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.697.75"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/e941a5d1-acb9-4cdc-ab79-f3f087555f49"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110474905"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/e0f00285-351a-4f20-8023-f829338440c0"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T12:01:22+02:00"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e941a5d1-acb9-4cdc-ab79-f3f087555f49",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01983625"
+ } ],
+ "text": "Ramilich 5mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "20"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e0f00285-351a-4f20-8023-f829338440c0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ilene South"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.xml
new file mode 100644
index 00000000..87ae8fd0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.697.75_medicationdispense_Ramipril_WST_2x50+5x20_Abgabe_a6ff8551/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/input.xml
new file mode 100644
index 00000000..f4b90760
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/input.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/log.txt
new file mode 100644
index 00000000..051e6343
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/15265bca-22c9-4ba4-b183-3563f9f6f204*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/15265bca-22c9-4ba4-b183-3563f9f6f204*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/15265bca-22c9-4ba4-b183-3563f9f6f204*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.json
new file mode 100644
index 00000000..70b47bb8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "c1f023c2-cd67-4100-9a68-41d81d9c0273",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "15265bca-22c9-4ba4-b183-3563f9f6f204",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.713.27"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/2b95d464-87e7-46b1-81b1-3ba2e9ead3bf"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110450929"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/c22636d0-7283-4bfa-bd8b-24bfb7bef795"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T11:36:22+02:00",
+ "dosageInstruction": [ {
+ "text": "Dj"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "2b95d464-87e7-46b1-81b1-3ba2e9ead3bf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09494280"
+ } ],
+ "text": "Venlafaxin HEU 75mg Tabl"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c22636d0-7283-4bfa-bd8b-24bfb7bef795",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Tamara Knight"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.xml
new file mode 100644
index 00000000..92a40c5c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.713.27_medicationdispense_Venlafaxin_PZN_kleinePackungen_c1f023c2/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/input.xml
new file mode 100644
index 00000000..e1974052
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/input.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/log.txt
new file mode 100644
index 00000000..c2797f56
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/882da1a9-80b8-480b-9895-1e9d0dff3b89*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/882da1a9-80b8-480b-9895-1e9d0dff3b89*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/882da1a9-80b8-480b-9895-1e9d0dff3b89*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.json
new file mode 100644
index 00000000..5b115777
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "d511af7f-4e43-476f-9df4-c2666ef0d842",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "882da1a9-80b8-480b-9895-1e9d0dff3b89",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.714.24"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f1d9ff81-e61f-4871-bcde-248735523e8b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H064287850"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/f5a6b7f0-1fb5-4c1f-9792-2a9123b10ebf"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T11:46:33+02:00",
+ "dosageInstruction": [ {
+ "text": "Dj"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f1d9ff81-e61f-4871-bcde-248735523e8b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03480822"
+ } ],
+ "text": "Tramadol 100 RET 1A Pharma"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "RET"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f5a6b7f0-1fb5-4c1f-9792-2a9123b10ebf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Rusty Pipes"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.xml
new file mode 100644
index 00000000..90d29579
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.714.24_medicationdispense_Venlafaxin_PZN_Austausch_d511af7f/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/input.xml
new file mode 100644
index 00000000..7a61a190
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/input.xml
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/log.txt
new file mode 100644
index 00000000..98be19d1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/b8ac5444-26a0-46c8-8ad4-60ddcab93bd1*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/b8ac5444-26a0-46c8-8ad4-60ddcab93bd1*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/b8ac5444-26a0-46c8-8ad4-60ddcab93bd1*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.json
new file mode 100644
index 00000000..3d909d05
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "1b714557-c647-47e5-ad32-8ecf90122856",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "b8ac5444-26a0-46c8-8ad4-60ddcab93bd1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.436.776.32"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/87464580-81e4-4508-a229-b7ce02e24776"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110474905"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/f5175d4d-0200-491e-bdb3-1e0cbd4a84a2"
+ }
+ } ],
+ "whenHandedOver": "2024-07-02T11:55:14+02:00"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "87464580-81e4-4508-a229-b7ce02e24776",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "05392022"
+ } ],
+ "text": "Venlafaxin 1A Pharma 75mg"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "50"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f5175d4d-0200-491e-bdb3-1e0cbd4a84a2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ima Lytle Teapot"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.xml
new file mode 100644
index 00000000..5cad2154
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/160.000.226.436.776.32_medicationdispense_Venlafaxin_PZN_kleinePackungen_1b714557/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/input.xml
new file mode 100644
index 00000000..65903f82
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/input.xml
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/log.txt
new file mode 100644
index 00000000..51399360
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5d42eb65-adfa-4bb3-8a0f-19a7f8792b06*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5d42eb65-adfa-4bb3-8a0f-19a7f8792b06*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5d42eb65-adfa-4bb3-8a0f-19a7f8792b06*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.json
new file mode 100644
index 00000000..10440a10
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.json
@@ -0,0 +1,121 @@
+{
+ "resourceType": "Parameters",
+ "id": "256c8280-d302-4cb2-b504-de4d2247dac6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5d42eb65-adfa-4bb3-8a0f-19a7f8792b06",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.033.491.280.78"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/e2ca7476-6e78-4903-bde4-1c3cde8d06ac"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X234567890"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/c5d21cf2-c378-4bc3-84f5-95116e387907"
+ }
+ } ],
+ "whenHandedOver": "2022-02-28",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e2ca7476-6e78-4903-bde4-1c3cde8d06ac",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "20 St."
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c5d21cf2-c378-4bc3-84f5-95116e387907",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sandy Beech"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.xml
new file mode 100644
index 00000000..49932e55
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/3465270a-11e7-4bbf-ae53-378f9cc52747_256c8280/output.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/input.xml
new file mode 100644
index 00000000..9e5c4a28
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/log.txt
new file mode 100644
index 00000000..b7df2289
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/f7d81f8f-e5e2-4c28-8d7d-809d92899a5a*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/f7d81f8f-e5e2-4c28-8d7d-809d92899a5a*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/f7d81f8f-e5e2-4c28-8d7d-809d92899a5a*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.json
new file mode 100644
index 00000000..e9a65a4e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "d2e37ab5-d4e4-4678-a078-45cd2ad44752",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "f7d81f8f-e5e2-4c28-8d7d-809d92899a5a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/44cad858-f931-490c-a496-d26905f7c9e4"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "S040464113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/8d2eccdd-550a-4d54-a3ae-9c7d644abfde"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "44cad858-f931-490c-a496-d26905f7c9e4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02950964"
+ } ],
+ "text": "METFORMIN 850-1A Pharma Filmtabletten 180 Stk"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "180"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "P987654321-8",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8d2eccdd-550a-4d54-a3ae-9c7d644abfde",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ben D. Fender"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.xml
new file mode 100644
index 00000000..1558ca79
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_d2e37ab5/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/input.xml
new file mode 100644
index 00000000..dc5cd85e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/log.txt
new file mode 100644
index 00000000..f9ee08fd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/b1210329-ae0e-4ee7-810b-5809dcd239f1*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/b1210329-ae0e-4ee7-810b-5809dcd239f1*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/b1210329-ae0e-4ee7-810b-5809dcd239f1*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.json
new file mode 100644
index 00000000..ece18635
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "dba0fee1-24cb-4757-ad4e-d06479b53b24",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "b1210329-ae0e-4ee7-810b-5809dcd239f1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/7cc00ef0-7ff6-4557-8701-ab238143bdaf"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "S040464113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/16262b69-f945-4895-a3d7-acbdf24f8fc1"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7cc00ef0-7ff6-4557-8701-ab238143bdaf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02950964"
+ } ],
+ "text": "METFORMIN 850-1A Pharma Filmtabletten 180 Stk"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "180"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "P987654321-8",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "16262b69-f945-4895-a3d7-acbdf24f8fc1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Frank Enstein"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.xml
new file mode 100644
index 00000000..71a90fc2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V1_MedicationDispense_dba0fee1/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/input.xml
new file mode 100644
index 00000000..fecbf181
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/log.txt
new file mode 100644
index 00000000..ebe8cf14
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/3ebe1226-f8dd-4d52-924e-101eb8373b16*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/3ebe1226-f8dd-4d52-924e-101eb8373b16*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/3ebe1226-f8dd-4d52-924e-101eb8373b16*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.json
new file mode 100644
index 00000000..47ae401c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "71a9d48e-bfe4-4de6-943a-b03aff44e2c2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "3ebe1226-f8dd-4d52-924e-101eb8373b16",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/d7a45032-c420-4627-9fe1-bd87cd9aa9cc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "S040464113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/58d10a72-8d69-4f2a-ad3d-be404adf3791"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "d7a45032-c420-4627-9fe1-bd87cd9aa9cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08999233"
+ } ],
+ "text": "METFORMIN STADA 850 mg Filmtabletten 180 Stk"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "180"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "P987654321-8",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "58d10a72-8d69-4f2a-ad3d-be404adf3791",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Dusty Sandmann"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.xml
new file mode 100644
index 00000000..ed002362
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_71a9d48e/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/input.xml
new file mode 100644
index 00000000..f84fc221
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/log.txt
new file mode 100644
index 00000000..67988612
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1c6ff895-9d55-4ff8-91d6-6e8f35ab3086*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1c6ff895-9d55-4ff8-91d6-6e8f35ab3086*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1c6ff895-9d55-4ff8-91d6-6e8f35ab3086*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.json
new file mode 100644
index 00000000..27606eb5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "ce40a8d8-2101-4e2c-83dd-63da09a3a6a9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1c6ff895-9d55-4ff8-91d6-6e8f35ab3086",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/bb1707b4-3ae0-47f3-a780-c5ccef70872b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "S040464113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/75c76588-0894-412c-a7bd-4fc06aee6f13"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "bb1707b4-3ae0-47f3-a780-c5ccef70872b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08999233"
+ } ],
+ "text": "METFORMIN STADA 850 mg Filmtabletten 180 Stk"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "180"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "P987654321-8",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "75c76588-0894-412c-a7bd-4fc06aee6f13",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Moe Skeeto"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.xml
new file mode 100644
index 00000000..8adb464b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/FT_V2_MedicationDispense_ce40a8d8/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/input.xml
new file mode 100644
index 00000000..c56627da
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/log.txt
new file mode 100644
index 00000000..4de64fe2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/c9a22595-0d04-47b5-b46a-b855c9586cab*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/c9a22595-0d04-47b5-b46a-b855c9586cab*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/c9a22595-0d04-47b5-b46a-b855c9586cab*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.json
new file mode 100644
index 00000000..d161e697
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "da9f6c16-91d9-4cef-86b2-fcf0674f0930",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "c9a22595-0d04-47b5-b46a-b855c9586cab",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.008.18"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f914d8a1-0add-4542-ae2e-a271b86db575"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "S040464113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/ba646b9d-f7d6-4e3f-94aa-3cdf320eaea3"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "3mal täglich dünn auftragen"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f914d8a1-0add-4542-ae2e-a271b86db575",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10962562"
+ } ],
+ "text": "FUSIDINSÄURE-ratiopharm 20 mg/g"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "CRE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "15"
+ } ],
+ "unit": "g"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ba646b9d-f7d6-4e3f-94aa-3cdf320eaea3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Jed Dye"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.xml
new file mode 100644
index 00000000..31f660b4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_da9f6c16/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/input.xml
new file mode 100644
index 00000000..dab84253
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/log.txt
new file mode 100644
index 00000000..2cdeddd4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/134873f1-5c0d-48f5-acae-d08c77cec4ff*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/134873f1-5c0d-48f5-acae-d08c77cec4ff*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/134873f1-5c0d-48f5-acae-d08c77cec4ff*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.json
new file mode 100644
index 00000000..40877f00
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "f9152f90-d657-4e99-9547-7f1e50781175",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "134873f1-5c0d-48f5-acae-d08c77cec4ff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.008.18"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/a3c75678-1af4-4a8f-bb80-21a27ca0d4f0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "S040464113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/dd90c1b6-cea8-495d-a7ee-de1ae4d8343c"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "3mal täglich dünn auftragen"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a3c75678-1af4-4a8f-bb80-21a27ca0d4f0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10962562"
+ } ],
+ "text": "FUSIDINSÄURE-ratiopharm 20 mg/g"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "CRE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "15"
+ } ],
+ "unit": "g"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "dd90c1b6-cea8-495d-a7ee-de1ae4d8343c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Jed I. Knight"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.xml
new file mode 100644
index 00000000..f5494f5d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Arbeitsunfall_MedicationDispense_f9152f90/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/input.xml
new file mode 100644
index 00000000..79b18afc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/log.txt
new file mode 100644
index 00000000..569864a3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/b23bf93d-d9b2-405c-b399-506cbf051226*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/b23bf93d-d9b2-405c-b399-506cbf051226*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/b23bf93d-d9b2-405c-b399-506cbf051226*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.json
new file mode 100644
index 00000000..9beb432e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "c07427b0-7b56-4ebc-8bcd-ebe8579138a7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "b23bf93d-d9b2-405c-b399-506cbf051226",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/19d3c6fe-a8b1-43e6-998e-b2973ad88d13"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/0ca9b135-1fd0-4307-943b-ec82bc8db76b"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "19d3c6fe-a8b1-43e6-998e-b2973ad88d13",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10259495"
+ } ],
+ "text": "FSME IMMUN 0.5ML ERW O KA, 1 St"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A9876543210123-45678",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ca9b135-1fd0-4307-943b-ec82bc8db76b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Beau Vine"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.xml
new file mode 100644
index 00000000..5b1776a9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_c07427b0/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/input.xml
new file mode 100644
index 00000000..e9b2d5e7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/log.txt
new file mode 100644
index 00000000..dbb85ab3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/390e1448-38e8-4802-a7e8-428b80b52615*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/390e1448-38e8-4802-a7e8-428b80b52615*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/390e1448-38e8-4802-a7e8-428b80b52615*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.json
new file mode 100644
index 00000000..a9263bb9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "cf59e842-81f7-4f07-ba42-d09787814103",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "390e1448-38e8-4802-a7e8-428b80b52615",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/ac61ae12-e52f-4774-ba4d-8dd1de31ab2e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/03ef6c1f-d483-418b-89ed-7bcb1b286f5d"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ac61ae12-e52f-4774-ba4d-8dd1de31ab2e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10259495"
+ } ],
+ "text": "FSME IMMUN 0.5ML ERW O KA, 1 St"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A9876543210123-45678",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "03ef6c1f-d483-418b-89ed-7bcb1b286f5d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Al Nino"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.xml
new file mode 100644
index 00000000..85df930a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V1_MedicationDispense_cf59e842/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/input.xml
new file mode 100644
index 00000000..cb98f002
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/log.txt
new file mode 100644
index 00000000..9a18b241
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/0b11974a-814b-41d6-b903-83620099b069*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/0b11974a-814b-41d6-b903-83620099b069*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/0b11974a-814b-41d6-b903-83620099b069*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.json
new file mode 100644
index 00000000..4a130dbc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "07de96d9-8287-47eb-84e0-3f680b3941be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "0b11974a-814b-41d6-b903-83620099b069",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f69a64a5-426b-4304-92f1-e4021016d4e3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/977a7abf-d48a-4dc9-9d54-fce3acf294b3"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f69a64a5-426b-4304-92f1-e4021016d4e3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "11011981"
+ } ],
+ "text": "FSME IMMUN 0.5ML ERW, 1 St"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A9876543210123-45678",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "977a7abf-d48a-4dc9-9d54-fce3acf294b3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Aaron Thetires"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.xml
new file mode 100644
index 00000000..d9804939
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_07de96d9/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/input.xml
new file mode 100644
index 00000000..0d9fc21d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/log.txt
new file mode 100644
index 00000000..b39adead
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/011ca252-872f-4010-b9c7-0123e3a42934*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/011ca252-872f-4010-b9c7-0123e3a42934*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/011ca252-872f-4010-b9c7-0123e3a42934*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.json
new file mode 100644
index 00000000..39124f28
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "d4094807-b3ff-471b-9c51-f7f392646980",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "011ca252-872f-4010-b9c7-0123e3a42934",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/0d1e35f4-6adf-489f-8ef3-e403e334a2d1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/c9be111d-9f6c-49fb-b287-814bbdb410fc"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0d1e35f4-6adf-489f-8ef3-e403e334a2d1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "11011981"
+ } ],
+ "text": "FSME IMMUN 0.5ML ERW, 1 St"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A9876543210123-45678",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c9be111d-9f6c-49fb-b287-814bbdb410fc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Lisa Honda"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.xml
new file mode 100644
index 00000000..d9aace07
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Impfstoff_V2_MedicationDispense_d4094807/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/input.xml
new file mode 100644
index 00000000..dc56f034
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/log.txt
new file mode 100644
index 00000000..1ea61b7b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/05ba2521-7fa9-4373-af94-1838500dfe44*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/05ba2521-7fa9-4373-af94-1838500dfe44*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/05ba2521-7fa9-4373-af94-1838500dfe44*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.json
new file mode 100644
index 00000000..cdd78c20
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "3ffce413-fc4c-4779-a470-75fa75f6c676",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "05ba2521-7fa9-4373-af94-1838500dfe44",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/e4acc684-cbd9-4c8e-a243-cad17cd31d08"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220645122"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/5041bdeb-5eb1-4808-8e3e-1971d4c28f96"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e4acc684-cbd9-4c8e-a243-cad17cd31d08",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16332684"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25ml Injektionslösung"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A9876543210-78",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5041bdeb-5eb1-4808-8e3e-1971d4c28f96",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Annie Howe"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.xml
new file mode 100644
index 00000000..0889ebf8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_3ffce413/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/input.xml
new file mode 100644
index 00000000..5bd4dec4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/log.txt
new file mode 100644
index 00000000..2e23cb77
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/7f345cec-d2be-4d7f-b93f-5cfcfb80b8c5*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/7f345cec-d2be-4d7f-b93f-5cfcfb80b8c5*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/7f345cec-d2be-4d7f-b93f-5cfcfb80b8c5*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.json
new file mode 100644
index 00000000..f2095835
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "d0c706f7-e781-4051-9456-daa4ce548cb9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "7f345cec-d2be-4d7f-b93f-5cfcfb80b8c5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/9bd1d645-55c2-4e47-bf21-9a6315d942e7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220645122"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/ec837e26-af83-4b8a-bf3d-2f5557527835"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9bd1d645-55c2-4e47-bf21-9a6315d942e7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16332684"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25ml Injektionslösung"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A9876543210-78",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ec837e26-af83-4b8a-bf3d-2f5557527835",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ginger Snapp"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.xml
new file mode 100644
index 00000000..6a4b1177
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V1_MedicationDispense_d0c706f7/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/input.xml
new file mode 100644
index 00000000..1d845070
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/log.txt
new file mode 100644
index 00000000..02732b50
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/38b594d0-8d7d-48a2-b18f-db1e813ed5ab*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/38b594d0-8d7d-48a2-b18f-db1e813ed5ab*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/38b594d0-8d7d-48a2-b18f-db1e813ed5ab*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.json
new file mode 100644
index 00000000..fee63279
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "c88dda5e-a811-4326-b7f8-76c319898e39",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "38b594d0-8d7d-48a2-b18f-db1e813ed5ab",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/3e91a763-9251-4af5-981f-c0b968c96062"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220645122"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/e65ff922-455e-4f5a-af4d-946e60a37fb1"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3e91a763-9251-4af5-981f-c0b968c96062",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16938263"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25 ml Inj.Lsg."
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A9876543210-78",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e65ff922-455e-4f5a-af4d-946e60a37fb1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Al Dente"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.xml
new file mode 100644
index 00000000..5cc7a8e2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_c88dda5e/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/input.xml
new file mode 100644
index 00000000..82cdb677
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/log.txt
new file mode 100644
index 00000000..8fe3522b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/89cb4c1b-5b2f-4b63-bcc5-b138898b167d*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/89cb4c1b-5b2f-4b63-bcc5-b138898b167d*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/89cb4c1b-5b2f-4b63-bcc5-b138898b167d*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.json
new file mode 100644
index 00000000..386d8cc4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "e15e0e6e-42ae-4035-9dbd-b835474ddb08",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "89cb4c1b-5b2f-4b63-bcc5-b138898b167d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/4b14fb0c-0dbb-405a-bcdc-5dd06f8abbe7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220645122"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/40298bed-d56e-4658-97fd-cee3270880cd"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4b14fb0c-0dbb-405a-bcdc-5dd06f8abbe7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16938263"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25 ml Inj.Lsg."
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A9876543210-78",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "40298bed-d56e-4658-97fd-cee3270880cd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hayden Seek"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.xml
new file mode 100644
index 00000000..44a5869d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_KB_V2_MedicationDispense_e15e0e6e/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/input.xml
new file mode 100644
index 00000000..163149e2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/log.txt
new file mode 100644
index 00000000..2ce35450
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/8a616406-e88d-4844-bd07-4f5e2cba6cc0*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/8a616406-e88d-4844-bd07-4f5e2cba6cc0*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/8a616406-e88d-4844-bd07-4f5e2cba6cc0*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.json
new file mode 100644
index 00000000..a7dfbf3d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "ac65a7dd-0803-4ebf-aa3e-276d2b01e035",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "8a616406-e88d-4844-bd07-4f5e2cba6cc0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.010.12"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/856bf295-b6da-4246-b355-8c3aef7938a3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/94486978-ca78-462e-bbf6-a644d1ebff75"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "856bf295-b6da-4246-b355-8c3aef7938a3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "94486978-ca78-462e-bbf6-a644d1ebff75",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Haywood Jashootmee"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.xml
new file mode 100644
index 00000000..9f9e6472
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ac65a7dd/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/input.xml
new file mode 100644
index 00000000..fe68dd7e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/log.txt
new file mode 100644
index 00000000..fb68332f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/972ea6e6-d7fc-4def-8ce7-afb15ebecb7f*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/972ea6e6-d7fc-4def-8ce7-afb15ebecb7f*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/972ea6e6-d7fc-4def-8ce7-afb15ebecb7f*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.json
new file mode 100644
index 00000000..9810bf5c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "ff62fffa-9658-4544-84e2-c8cceb4cd06b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "972ea6e6-d7fc-4def-8ce7-afb15ebecb7f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.010.12"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/13bd24bd-fc70-425c-915d-debc5946a3e2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/f1648f87-dcd4-4857-b3d5-c428a0e42c70"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "13bd24bd-fc70-425c-915d-debc5946a3e2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f1648f87-dcd4-4857-b3d5-c428a0e42c70",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Joy Rider"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.xml
new file mode 100644
index 00000000..42a1302a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV1_MedicationDispense_ff62fffa/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/input.xml
new file mode 100644
index 00000000..851c82c5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/log.txt
new file mode 100644
index 00000000..9f146ef5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/7171e2b6-225f-409f-bd92-197503a5efce*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/7171e2b6-225f-409f-bd92-197503a5efce*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/7171e2b6-225f-409f-bd92-197503a5efce*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.json
new file mode 100644
index 00000000..80aaccb2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "13174b10-6f30-4563-adb1-c45bae6f6202",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "7171e2b6-225f-409f-bd92-197503a5efce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.015.94"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/b71d80a5-3152-4a05-833b-d371d0042622"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/58075cef-925a-4a85-a2ad-9afc5f652acc"
+ }
+ } ],
+ "whenHandedOver": "2025-01-15"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b71d80a5-3152-4a05-833b-d371d0042622",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "58075cef-925a-4a85-a2ad-9afc5f652acc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Eli Ondefloor"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.xml
new file mode 100644
index 00000000..5195dcd2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_13174b10/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/input.xml
new file mode 100644
index 00000000..be2f7416
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/log.txt
new file mode 100644
index 00000000..a096beae
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/144cbcd5-61ad-4604-aa4e-a7ce9cc9a00b*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/144cbcd5-61ad-4604-aa4e-a7ce9cc9a00b*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/144cbcd5-61ad-4604-aa4e-a7ce9cc9a00b*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.json
new file mode 100644
index 00000000..84771266
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "8e9be6d3-6ce5-46ec-991e-34726bf6eaef",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "144cbcd5-61ad-4604-aa4e-a7ce9cc9a00b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.015.94"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/54e9d886-4017-4c72-ab44-11f03078af9b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/99118991-7b9a-41f5-a66b-089c7953ad1b"
+ }
+ } ],
+ "whenHandedOver": "2023-09-15"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "54e9d886-4017-4c72-ab44-11f03078af9b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "99118991-7b9a-41f5-a66b-089c7953ad1b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Faye Slift"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.xml
new file mode 100644
index 00000000..6ae397ce
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV2_MedicationDispense_8e9be6d3/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/input.xml
new file mode 100644
index 00000000..8e6aa43c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/log.txt
new file mode 100644
index 00000000..971e461d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/7eda3c3a-80f0-4124-af65-ecd6811df79d*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/7eda3c3a-80f0-4124-af65-ecd6811df79d*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/7eda3c3a-80f0-4124-af65-ecd6811df79d*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.json
new file mode 100644
index 00000000..36d00f4f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "1f2b9024-2025-45ab-b365-bd426a6e0984",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "7eda3c3a-80f0-4124-af65-ecd6811df79d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.016.91"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/38a65b8f-8b65-493c-9737-bac8fcdd7ec3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/38258594-c4f0-4179-8ae5-df9b927be563"
+ }
+ } ],
+ "whenHandedOver": "2023-11-15"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "38a65b8f-8b65-493c-9737-bac8fcdd7ec3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "38258594-c4f0-4179-8ae5-df9b927be563",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Dusty Rhodes"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.xml
new file mode 100644
index 00000000..56f3446d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_1f2b9024/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/input.xml
new file mode 100644
index 00000000..786bbc94
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/log.txt
new file mode 100644
index 00000000..72ec7c17
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/7fdd6b29-9881-4975-bff1-6a7300b341a0*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/7fdd6b29-9881-4975-bff1-6a7300b341a0*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/7fdd6b29-9881-4975-bff1-6a7300b341a0*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.json
new file mode 100644
index 00000000..10372f6e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "f8a54a6e-a5fd-4276-ab1e-32e6cf084871",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "7fdd6b29-9881-4975-bff1-6a7300b341a0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.016.91"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/2ca4690c-1c83-4083-a362-4b599db2cf5e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/a7571e92-b64d-4134-8b9f-824213341c08"
+ }
+ } ],
+ "whenHandedOver": "2025-03-15"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "2ca4690c-1c83-4083-a362-4b599db2cf5e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a7571e92-b64d-4134-8b9f-824213341c08",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Luna Tick"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.xml
new file mode 100644
index 00000000..18808516
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV3_MedicationDispense_f8a54a6e/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/input.xml
new file mode 100644
index 00000000..b164da80
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/log.txt
new file mode 100644
index 00000000..aadab90b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/43f2c8cc-3d20-4f5e-acf4-753d236e7337*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/43f2c8cc-3d20-4f5e-acf4-753d236e7337*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/43f2c8cc-3d20-4f5e-acf4-753d236e7337*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.json
new file mode 100644
index 00000000..8203d1d3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "b6caabd2-77bb-4741-ad3d-6c65acd654b2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "43f2c8cc-3d20-4f5e-acf4-753d236e7337",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.017.88"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/67cbf142-073c-4909-ac83-e5e9855e4370"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/55251cba-07b5-4cea-9f36-9ff7fadfca67"
+ }
+ } ],
+ "whenHandedOver": "2025-04-01"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "67cbf142-073c-4909-ac83-e5e9855e4370",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "55251cba-07b5-4cea-9f36-9ff7fadfca67",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Helen Back"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.xml
new file mode 100644
index 00000000..4fd03dd1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_b6caabd2/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/input.xml
new file mode 100644
index 00000000..e6e756e0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/log.txt
new file mode 100644
index 00000000..66c6dd43
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1d5f5f74-6d65-4393-ba9e-5dfdc3357e56*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1d5f5f74-6d65-4393-ba9e-5dfdc3357e56*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1d5f5f74-6d65-4393-ba9e-5dfdc3357e56*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.json
new file mode 100644
index 00000000..c36d4a15
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "ca4f715f-1642-4768-9a55-9ddc2a2b1d3e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1d5f5f74-6d65-4393-ba9e-5dfdc3357e56",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.017.88"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/a84af732-77fc-416e-94d4-697a1255e8e4"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/9de40059-de55-41e6-baf8-f85ad446fbcb"
+ }
+ } ],
+ "whenHandedOver": "2023-12-01"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a84af732-77fc-416e-94d4-697a1255e8e4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9de40059-de55-41e6-baf8-f85ad446fbcb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Artie Choke"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.xml
new file mode 100644
index 00000000..0b42104e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_MV4_MedicationDispense_ca4f715f/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/input.xml
new file mode 100644
index 00000000..adae53ab
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/log.txt
new file mode 100644
index 00000000..c363cd8a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/b2ee022a-f1b4-4fb0-8514-58f987d0bcce*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/b2ee022a-f1b4-4fb0-8514-58f987d0bcce*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/b2ee022a-f1b4-4fb0-8514-58f987d0bcce*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.json
new file mode 100644
index 00000000..6234f371
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "6be89a62-e9e6-4408-86ae-6ba16caa1ec8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "b2ee022a-f1b4-4fb0-8514-58f987d0bcce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.003.33"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/89af8c60-c97d-4ecb-bb5f-dfa133ac2792"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "M310119814"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/13568802-eddf-42ac-8564-8dc98fc25c53"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "89af8c60-c97d-4ecb-bb5f-dfa133ac2792",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03386388"
+ } ],
+ "text": "INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SUB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "3"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "13568802-eddf-42ac-8564-8dc98fc25c53",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Simon Swindells"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.xml
new file mode 100644
index 00000000..fe353cc2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_6be89a62/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/input.xml
new file mode 100644
index 00000000..89bdbf36
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/log.txt
new file mode 100644
index 00000000..fad9abd1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/866773d5-b2ff-49e2-983b-0b090de00490*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/866773d5-b2ff-49e2-983b-0b090de00490*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/866773d5-b2ff-49e2-983b-0b090de00490*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.json
new file mode 100644
index 00000000..ab1f40bf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "85f77ac6-9921-46df-984e-a1391d85fd22",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "866773d5-b2ff-49e2-983b-0b090de00490",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.003.33"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/21febbc3-1418-4141-bb12-b813561685b0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "M310119814"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/1d723ea8-452d-49e1-be02-4d37f39f82de"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "21febbc3-1418-4141-bb12-b813561685b0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03386388"
+ } ],
+ "text": "INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SUB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "3"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1d723ea8-452d-49e1-be02-4d37f39f82de",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Stu Pitt"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.xml
new file mode 100644
index 00000000..c6cd29a6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Noctu_MedicationDispense_85f77ac6/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/input.xml
new file mode 100644
index 00000000..5e3034e2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/log.txt
new file mode 100644
index 00000000..2830ed42
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/c1515e45-31cf-4dc2-8c00-c4d205934bb5*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/c1515e45-31cf-4dc2-8c00-c4d205934bb5*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/c1515e45-31cf-4dc2-8c00-c4d205934bb5*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.json
new file mode 100644
index 00000000..c8731c36
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "33953e1e-ba6f-4ad9-9d0f-3d655a48239f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "c1515e45-31cf-4dc2-8c00-c4d205934bb5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.764.737.300.50"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/41502ff4-dc48-4824-994e-10e97ed41532"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X234567891"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/676512a0-466d-4500-8570-8fef16fe4935"
+ }
+ } ],
+ "whenHandedOver": "2023-07-30",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "41502ff4-dc48-4824-994e-10e97ed41532",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "05454378"
+ } ],
+ "text": "SUMATRIPTAN Aurobindo 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "12"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "676512a0-466d-4500-8570-8fef16fe4935",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Alec Tricity"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.xml
new file mode 100644
index 00000000..3a789fed
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_33953e1e/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/input.xml
new file mode 100644
index 00000000..16a19793
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/log.txt
new file mode 100644
index 00000000..afc229df
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/4d9b5ed7-9826-4818-bd50-98ca8a2cf00a*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/4d9b5ed7-9826-4818-bd50-98ca8a2cf00a*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/4d9b5ed7-9826-4818-bd50-98ca8a2cf00a*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.json
new file mode 100644
index 00000000..b9e76258
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "9b57e5f0-e09e-4cf2-b025-74a1b3bb2a4b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "4d9b5ed7-9826-4818-bd50-98ca8a2cf00a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.764.737.300.50"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/59e76c04-f861-44a9-ab1e-47b60ec77373"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X234567891"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/fdc868ed-a337-48d6-8cdd-0962490a957b"
+ }
+ } ],
+ "whenHandedOver": "2024-11-30",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "59e76c04-f861-44a9-ab1e-47b60ec77373",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "05454378"
+ } ],
+ "text": "SUMATRIPTAN Aurobindo 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "12"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "fdc868ed-a337-48d6-8cdd-0962490a957b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Annie Moore"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.xml
new file mode 100644
index 00000000..52e22068
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr1_MedicationDispense_9b57e5f0/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/input.xml
new file mode 100644
index 00000000..cdc7a89f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/log.txt
new file mode 100644
index 00000000..5a6dca09
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/47238cf3-224e-4677-b095-6922c96ecd3b*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/47238cf3-224e-4677-b095-6922c96ecd3b*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/47238cf3-224e-4677-b095-6922c96ecd3b*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.json
new file mode 100644
index 00000000..3dd44fdd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "18c8a02c-6730-4e96-adbe-279e20f8270d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "47238cf3-224e-4677-b095-6922c96ecd3b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.001.39"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/27f6eae6-4e18-4839-b311-5f60bd4062fc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220645122"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/18310233-3392-425b-b64c-8efa520fb236"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "27f6eae6-4e18-4839-b311-5f60bd4062fc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09494280"
+ } ],
+ "text": "Venlafaxin Heumann 75 mg Tabletten, 100 St."
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "18310233-3392-425b-b64c-8efa520fb236",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Melanie Letters"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.xml
new file mode 100644
index 00000000..ec9a359d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_18c8a02c/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/input.xml
new file mode 100644
index 00000000..4da1859c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/log.txt
new file mode 100644
index 00000000..4670a107
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/3b930a1a-2857-4cf7-b64f-7dc34598c851*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/3b930a1a-2857-4cf7-b64f-7dc34598c851*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/3b930a1a-2857-4cf7-b64f-7dc34598c851*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.json
new file mode 100644
index 00000000..46a0a7ca
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "e8ef58d9-c033-4e9d-b9d0-4640df047ffd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "3b930a1a-2857-4cf7-b64f-7dc34598c851",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.001.39"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/0a6fb6ec-4b2f-420a-ac35-018f3a11f699"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220645122"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/c251dab5-bb8a-4ba8-9a54-5bde3ad8ba8c"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0a6fb6ec-4b2f-420a-ac35-018f3a11f699",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09494280"
+ } ],
+ "text": "Venlafaxin Heumann 75 mg Tabletten, 100 St."
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c251dab5-bb8a-4ba8-9a54-5bde3ad8ba8c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Theresa Green"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.xml
new file mode 100644
index 00000000..329dd18c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr2_MedicationDispense_e8ef58d9/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/input.xml
new file mode 100644
index 00000000..efbade8e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/log.txt
new file mode 100644
index 00000000..12582939
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/ca096820-d3c3-4824-9e47-77a2329f3809*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/ca096820-d3c3-4824-9e47-77a2329f3809*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/ca096820-d3c3-4824-9e47-77a2329f3809*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.json
new file mode 100644
index 00000000..cd047293
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "010703d3-f438-4dca-8499-2392514be15c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "ca096820-d3c3-4824-9e47-77a2329f3809",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.006.24"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/cf49c46a-522b-4a6e-a806-93c78005478b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/4dc6123e-48b9-4ca7-a2e0-1b8b7abe466b"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "cf49c46a-522b-4a6e-a806-93c78005478b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00814665"
+ } ],
+ "text": "Januvia® 50 mg 28 Filmtabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "28"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4dc6123e-48b9-4ca7-a2e0-1b8b7abe466b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Harry R. M. Pitts"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.xml
new file mode 100644
index 00000000..ab8459bf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_010703d3/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/input.xml
new file mode 100644
index 00000000..d11ccdc4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/log.txt
new file mode 100644
index 00000000..db72c16a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/426c9227-f02d-4cc2-b967-bbd752d8fe41*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/426c9227-f02d-4cc2-b967-bbd752d8fe41*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/426c9227-f02d-4cc2-b967-bbd752d8fe41*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.json
new file mode 100644
index 00000000..f0bc0bb2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "1c8e47c9-2fc3-4885-92b0-ed94706a711a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "426c9227-f02d-4cc2-b967-bbd752d8fe41",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.006.24"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/35b3bff8-cc86-4188-b59f-32d9efbc28d2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/c250899b-98fb-4849-aa04-0d599fba33cd"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "35b3bff8-cc86-4188-b59f-32d9efbc28d2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00814665"
+ } ],
+ "text": "Januvia® 50 mg 28 Filmtabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "28"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c250899b-98fb-4849-aa04-0d599fba33cd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Shirley U. Jest"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.xml
new file mode 100644
index 00000000..45c3b4ff
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr3_MedicationDispense_1c8e47c9/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/input.xml
new file mode 100644
index 00000000..a9aa6928
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/log.txt
new file mode 100644
index 00000000..dd76c5f6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/22308cae-24b1-4e3b-952e-94de203299e5*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/22308cae-24b1-4e3b-952e-94de203299e5*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/22308cae-24b1-4e3b-952e-94de203299e5*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.json
new file mode 100644
index 00000000..f5296e65
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "23d1bb9f-11ad-4f2d-9d72-fcd6d7418c49",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "22308cae-24b1-4e3b-952e-94de203299e5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.002.36"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/9df83391-9e3d-4fcd-8229-e625c8b8373e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "M310119802"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/a8515f0d-698b-4cd1-8a0b-7338f0c1501b"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "2mal tägl. 5ml"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9df83391-9e3d-4fcd-8229-e625c8b8373e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08585997"
+ } ],
+ "text": "Prospan® Hustensaft 100ml N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FLE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a8515f0d-698b-4cd1-8a0b-7338f0c1501b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Mort Tallity"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.xml
new file mode 100644
index 00000000..59c260c0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_23d1bb9f/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/input.xml
new file mode 100644
index 00000000..fab98af5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/log.txt
new file mode 100644
index 00000000..e4e122a6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/4e0ff789-fd33-4913-bfe7-df8bca9f9e73*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/4e0ff789-fd33-4913-bfe7-df8bca9f9e73*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/4e0ff789-fd33-4913-bfe7-df8bca9f9e73*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.json
new file mode 100644
index 00000000..1ce3076a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "53bf9d9a-9240-4c7f-b9a6-6136f4041c8c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "4e0ff789-fd33-4913-bfe7-df8bca9f9e73",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.002.36"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/0331f3c7-ceb7-498d-af81-59cba8818669"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "M310119802"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/95d7fc24-0569-498b-a633-a89659381f6e"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "2mal tägl. 5ml"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0331f3c7-ceb7-498d-af81-59cba8818669",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08585997"
+ } ],
+ "text": "Prospan® Hustensaft 100ml N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FLE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "95d7fc24-0569-498b-a633-a89659381f6e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "I. P. Freely"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.xml
new file mode 100644
index 00000000..314d8516
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr4_MedicationDispense_53bf9d9a/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/input.xml
new file mode 100644
index 00000000..c14533b3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/log.txt
new file mode 100644
index 00000000..8dc1f34e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/6d312a53-e402-4eb3-943e-d29c27e66cff*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/6d312a53-e402-4eb3-943e-d29c27e66cff*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/6d312a53-e402-4eb3-943e-d29c27e66cff*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.json
new file mode 100644
index 00000000..7802822f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "2d57a72a-fab7-433e-a9a8-65cbe97432ce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "6d312a53-e402-4eb3-943e-d29c27e66cff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.014.97"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/aaa93c60-4721-4618-ba5a-ef4310376e27"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H030170228"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/e60a108a-3c5a-4a16-8e03-71b1ca6904cd"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "aaa93c60-4721-4618-ba5a-ef4310376e27",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06977931"
+ } ],
+ "text": "ACICLOVIR 800 Heumann Tabletten (35 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "35"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e60a108a-3c5a-4a16-8e03-71b1ca6904cd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Holly Wood"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.xml
new file mode 100644
index 00000000..44da0cec
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_2d57a72a/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/input.xml
new file mode 100644
index 00000000..8360506a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/log.txt
new file mode 100644
index 00000000..195bbc24
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/8281b740-fe80-410a-b053-3377286fda5f*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/8281b740-fe80-410a-b053-3377286fda5f*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/8281b740-fe80-410a-b053-3377286fda5f*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.json
new file mode 100644
index 00000000..d93d1af0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "45961b32-babc-498e-8224-9482d38093ea",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "8281b740-fe80-410a-b053-3377286fda5f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.014.97"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/2b923de0-a85c-4d2a-8c3d-fd926a0d693a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H030170228"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/39fd84ae-4fef-4490-a6f3-8d166e928736"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "2b923de0-a85c-4d2a-8c3d-fd926a0d693a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06977931"
+ } ],
+ "text": "ACICLOVIR 800 Heumann Tabletten (35 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "35"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "39fd84ae-4fef-4490-a6f3-8d166e928736",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Douglas Furr"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.xml
new file mode 100644
index 00000000..dba96b02
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr5_MedicationDispense_45961b32/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/input.xml
new file mode 100644
index 00000000..ed65d266
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/log.txt
new file mode 100644
index 00000000..fcb0611a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/9def173b-318c-4504-bea8-e163cdf6ae08*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/9def173b-318c-4504-bea8-e163cdf6ae08*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/9def173b-318c-4504-bea8-e163cdf6ae08*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.json
new file mode 100644
index 00000000..b4a7b5d2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "96ee4a1e-1ca5-4bf2-9167-ce96cc31964e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "9def173b-318c-4504-bea8-e163cdf6ae08",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.011.09"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/b05dabcd-cba3-4b4a-8903-a229fce54747"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "P223331978"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/8410775b-b8bf-4c38-b535-946d3b56029c"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b05dabcd-cba3-4b4a-8903-a229fce54747",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "04773414"
+ } ],
+ "text": "Doxycyclin AL 200 T, 10 Tabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8410775b-b8bf-4c38-b535-946d3b56029c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Tom Katt"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.xml
new file mode 100644
index 00000000..1ad3e74c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_96ee4a1e/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/input.xml
new file mode 100644
index 00000000..0a91b55e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/log.txt
new file mode 100644
index 00000000..5ccf5eb9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/500176e8-0bca-448c-91e1-fa4dc18a37be*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/500176e8-0bca-448c-91e1-fa4dc18a37be*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/500176e8-0bca-448c-91e1-fa4dc18a37be*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.json
new file mode 100644
index 00000000..657c3df7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "bf7af439-d8f1-44ad-846c-8e4de9838c66",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "500176e8-0bca-448c-91e1-fa4dc18a37be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.011.09"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/bc1b7ea2-c598-422b-9f57-12d903e8bc58"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "P223331978"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/f81f85cb-4191-49e9-b963-54ddf44c623e"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "bc1b7ea2-c598-422b-9f57-12d903e8bc58",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "04773414"
+ } ],
+ "text": "Doxycyclin AL 200 T, 10 Tabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f81f85cb-4191-49e9-b963-54ddf44c623e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Buddy Booth"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.xml
new file mode 100644
index 00000000..08a00514
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr6_MedicationDispense_bf7af439/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/input.xml
new file mode 100644
index 00000000..ee2afe3b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/log.txt
new file mode 100644
index 00000000..72406fdc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/642f7bf6-c875-4dca-b341-4f25535cb144*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/642f7bf6-c875-4dca-b341-4f25535cb144*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/642f7bf6-c875-4dca-b341-4f25535cb144*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.json
new file mode 100644
index 00000000..fb0cee2d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "0c8edd57-405f-4073-b06f-6fd0274a4ecd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "642f7bf6-c875-4dca-b341-4f25535cb144",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.004.30"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/1bb60fc7-0836-4f11-87de-6b69d95c2c66"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/ff05ec20-5d4a-4717-b67c-38b26dcaddbb"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1bb60fc7-0836-4f11-87de-6b69d95c2c66",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01288434"
+ } ],
+ "text": "Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "IHP"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Diskus"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ff05ec20-5d4a-4717-b67c-38b26dcaddbb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ali Katt"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.xml
new file mode 100644
index 00000000..13c84a07
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_0c8edd57/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/input.xml
new file mode 100644
index 00000000..c76af2c8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/log.txt
new file mode 100644
index 00000000..bd01f522
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/e9f8a22e-ca4a-44c5-9cb5-ffbea1484071*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/e9f8a22e-ca4a-44c5-9cb5-ffbea1484071*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/e9f8a22e-ca4a-44c5-9cb5-ffbea1484071*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.json
new file mode 100644
index 00000000..fdb515d1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "2e46d353-7ccf-4865-bc96-697f1842df3f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "e9f8a22e-ca4a-44c5-9cb5-ffbea1484071",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.004.30"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/06d34220-2ac0-4d92-998a-71597313b5e6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/0faea340-38c8-40e3-b54a-7a87b9e4d278"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "06d34220-2ac0-4d92-998a-71597313b5e6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01288434"
+ } ],
+ "text": "Atmadisc 50 μg/250 μg Diskus Inh.-Pulver"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "IHP"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Diskus"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0faea340-38c8-40e3-b54a-7a87b9e4d278",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sue Jeu"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.xml
new file mode 100644
index 00000000..3e6e58d7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr7_MedicationDispense_2e46d353/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/input.xml
new file mode 100644
index 00000000..b23829e6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/log.txt
new file mode 100644
index 00000000..6174ea5b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5ad430cb-167d-459d-bef6-b6f063783c3d*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5ad430cb-167d-459d-bef6-b6f063783c3d*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5ad430cb-167d-459d-bef6-b6f063783c3d*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.json
new file mode 100644
index 00000000..77fde8c1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "08300ec5-021d-489d-bcc6-55d4a00a3023",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5ad430cb-167d-459d-bef6-b6f063783c3d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.012.06"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/b1dfe99c-b0d7-40db-bb82-503edd24ce22"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/297f3f96-832b-40bd-bee8-2f71ca3898dc"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b1dfe99c-b0d7-40db-bb82-503edd24ce22",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00629028"
+ } ],
+ "text": "Losartan Atid 100 mg Filmtabletten, 98 St."
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "98"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "297f3f96-832b-40bd-bee8-2f71ca3898dc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Woody U. No"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.xml
new file mode 100644
index 00000000..fa88a6c9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_08300ec5/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/input.xml
new file mode 100644
index 00000000..6323303e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/log.txt
new file mode 100644
index 00000000..109ef5e8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/784d8470-4d5f-4ea7-935b-95b32dd79a34*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/784d8470-4d5f-4ea7-935b-95b32dd79a34*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/784d8470-4d5f-4ea7-935b-95b32dd79a34*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.json
new file mode 100644
index 00000000..277ec767
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "c882728b-9c8f-4325-b317-ac44db7e492d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "784d8470-4d5f-4ea7-935b-95b32dd79a34",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.012.06"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/4db80efc-21f6-4c22-bf47-4fb7cbcf1f4e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/eee9e62d-5a9d-4a65-832b-531967b81764"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4db80efc-21f6-4c22-bf47-4fb7cbcf1f4e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00629028"
+ } ],
+ "text": "Losartan Atid 100 mg Filmtabletten, 98 St."
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "98"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "eee9e62d-5a9d-4a65-832b-531967b81764",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Marsha Mellow"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.xml
new file mode 100644
index 00000000..33e3afe5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Nr8_MedicationDispense_c882728b/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/input.xml
new file mode 100644
index 00000000..c4e30411
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/log.txt
new file mode 100644
index 00000000..2aebb344
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/53af959a-85b3-4f6c-9749-57931a7cb3e2*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/53af959a-85b3-4f6c-9749-57931a7cb3e2*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/53af959a-85b3-4f6c-9749-57931a7cb3e2*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.json
new file mode 100644
index 00000000..2a2edaeb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "1c30eb50-0a46-4942-a3f5-8ac4c88da4cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "53af959a-85b3-4f6c-9749-57931a7cb3e2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.005.27"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/37ecd228-c98d-4172-8abd-0554911ba2eb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/d71c08a1-87c9-4682-ba48-04cdce0bd385"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "bis zu 4mal täglich je 20-40 Tropfen"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "37ecd228-c98d-4172-8abd-0554911ba2eb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03507952"
+ } ],
+ "text": "Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TEI"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d71c08a1-87c9-4682-ba48-04cdce0bd385",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Dusty Rhodes"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.xml
new file mode 100644
index 00000000..a49952ea
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_1c30eb50/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/input.xml
new file mode 100644
index 00000000..30330522
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/log.txt
new file mode 100644
index 00000000..d354fb89
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/c93767d3-651f-4a21-bf76-39027ced652a*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/c93767d3-651f-4a21-bf76-39027ced652a*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/c93767d3-651f-4a21-bf76-39027ced652a*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.json
new file mode 100644
index 00000000..04c4d6b2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "c1fb48a7-6708-48bd-afc8-d99ce25ad8d3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "c93767d3-651f-4a21-bf76-39027ced652a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.005.27"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f8690ac9-20f1-41b8-8d28-c49410da34c7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/51afd505-fa54-4ab0-92c4-4824dd9f10e0"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "bis zu 4mal täglich je 20-40 Tropfen"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f8690ac9-20f1-41b8-8d28-c49410da34c7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03507952"
+ } ],
+ "text": "Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TEI"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "51afd505-fa54-4ab0-92c4-4824dd9f10e0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Tina See"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.xml
new file mode 100644
index 00000000..1dc25865
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_Unfall_MedicationDispense_c1fb48a7/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/input.xml
new file mode 100644
index 00000000..22920c70
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/log.txt
new file mode 100644
index 00000000..b721f344
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/0a9b8edb-5b4d-4e5d-9398-1c781bd5b979*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/0a9b8edb-5b4d-4e5d-9398-1c781bd5b979*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/0a9b8edb-5b4d-4e5d-9398-1c781bd5b979*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.json
new file mode 100644
index 00000000..6dbf9a7d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "c63f83a3-fe22-4651-a0b4-d3defff2f88f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "0a9b8edb-5b4d-4e5d-9398-1c781bd5b979",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.007.21"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/51041836-c99d-4bef-b9ee-094655fbf62f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "S040464113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/e872fc1d-68ae-44c1-8923-061200312bae"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1x täglich"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "51041836-c99d-4bef-b9ee-094655fbf62f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08850519"
+ } ],
+ "text": "Olanzapin Heumann 20mg 70 Schmelztbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SMT"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "70"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e872fc1d-68ae-44c1-8923-061200312bae",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Brandon Irons"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.xml
new file mode 100644
index 00000000..67eb5bb7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_c63f83a3/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/input.xml
new file mode 100644
index 00000000..762a69ad
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/log.txt
new file mode 100644
index 00000000..b52099e8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/00b5934c-898a-4cb9-81bc-73381f3f9e37*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/00b5934c-898a-4cb9-81bc-73381f3f9e37*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/00b5934c-898a-4cb9-81bc-73381f3f9e37*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.json
new file mode 100644
index 00000000..5195be67
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "fada6955-ccd9-4cc2-a5f4-8c7de256fe20",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "00b5934c-898a-4cb9-81bc-73381f3f9e37",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.007.21"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/50abf086-8042-496f-a45c-fb5bc7dbfb56"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "S040464113"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/7bdf2bec-fc80-4451-aa6f-9d7b48a9d33d"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1x täglich"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "50abf086-8042-496f-a45c-fb5bc7dbfb56",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08850519"
+ } ],
+ "text": "Olanzapin Heumann 20mg 70 Schmelztbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SMT"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "70"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7bdf2bec-fc80-4451-aa6f-9d7b48a9d33d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Justin Tune"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.xml
new file mode 100644
index 00000000..a856e4d1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/PZN_aut_idem_MedicationDispense_fada6955/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/input.xml
new file mode 100644
index 00000000..53d7d318
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/input.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/log.txt
new file mode 100644
index 00000000..01f7d8c5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/fe2ecd29-5e82-43c0-92d2-b19191a6c017*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/fe2ecd29-5e82-43c0-92d2-b19191a6c017*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/fe2ecd29-5e82-43c0-92d2-b19191a6c017*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.json
new file mode 100644
index 00000000..f521246e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.json
@@ -0,0 +1,99 @@
+{
+ "resourceType": "Parameters",
+ "id": "d8994a8a-44e6-4d79-9e17-50e85d70e330",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "fe2ecd29-5e82-43c0-92d2-b19191a6c017",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.024.67"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/77d7f967-0aa7-4c4f-a46e-db5f9ce3d8de"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220645122"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/8d41fc3c-b0b0-4ca7-b0fb-4d4d647dcb0a"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "77d7f967-0aa7-4c4f-a46e-db5f9ce3d8de",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"
+ },
+ "form": {
+ "text": "Lösung"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8d41fc3c-b0b0-4ca7-b0fb-4d4d647dcb0a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Colin Allcars"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.xml
new file mode 100644
index 00000000..f204612f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_d8994a8a/output.xml
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/input.xml
new file mode 100644
index 00000000..2088cd97
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/input.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/log.txt
new file mode 100644
index 00000000..f6fc0750
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/bb2c462a-e97a-4055-a699-3dfc90d9c70c*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/bb2c462a-e97a-4055-a699-3dfc90d9c70c*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/bb2c462a-e97a-4055-a699-3dfc90d9c70c*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.json
new file mode 100644
index 00000000..9d711356
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.json
@@ -0,0 +1,99 @@
+{
+ "resourceType": "Parameters",
+ "id": "f4875d9c-1780-4fb8-84d7-0d03ad73fa30",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "bb2c462a-e97a-4055-a699-3dfc90d9c70c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.024.67"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/3c6538b2-7026-449a-988b-4fd98af27a7f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220645122"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/ab507345-375a-46d3-8cf5-68afe04141ff"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1–3mal/Tag auf die erkrankten Hautstellen auftragen"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3c6538b2-7026-449a-988b-4fd98af27a7f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "100 ml Lösung (Salicylsäure 5 g, 2-propanol 70 % Ad 100 g)"
+ },
+ "form": {
+ "text": "Lösung"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ab507345-375a-46d3-8cf5-68afe04141ff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Jim Shu"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.xml
new file mode 100644
index 00000000..6eba7738
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_Nr1_MedicationDispense_f4875d9c/output.xml
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/input.xml
new file mode 100644
index 00000000..3f2a09c2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/input.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/log.txt
new file mode 100644
index 00000000..3e76a819
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/af207645-b81f-43a1-a478-9b2635e792c3*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/af207645-b81f-43a1-a478-9b2635e792c3*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/af207645-b81f-43a1-a478-9b2635e792c3*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.json
new file mode 100644
index 00000000..f5b0bc1c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.json
@@ -0,0 +1,99 @@
+{
+ "resourceType": "Parameters",
+ "id": "6e50847e-626f-43b3-894f-d1da1174494f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "af207645-b81f-43a1-a478-9b2635e792c3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.018.562.305.023.72"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/14434f67-140f-4cb5-97d8-b8a48525c403"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H030170228"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/3e22339f-23fd-4885-b1ad-99680cc53130"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "14434f67-140f-4cb5-97d8-b8a48525c403",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"
+ },
+ "form": {
+ "text": "Infusionslösung"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3e22339f-23fd-4885-b1ad-99680cc53130",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Skip Dover"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.xml
new file mode 100644
index 00000000..3c18c800
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_6e50847e/output.xml
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/input.xml
new file mode 100644
index 00000000..8221d325
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/input.xml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/log.txt
new file mode 100644
index 00000000..dfba3796
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/81af09de-87cf-4db5-857e-790349fec75b*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/81af09de-87cf-4db5-857e-790349fec75b*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/81af09de-87cf-4db5-857e-790349fec75b*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.json
new file mode 100644
index 00000000..c1afaffa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.json
@@ -0,0 +1,99 @@
+{
+ "resourceType": "Parameters",
+ "id": "a3d47106-2946-4d41-bc33-c3af7b7046dd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "81af09de-87cf-4db5-857e-790349fec75b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.018.562.305.023.72"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/47874cee-5e95-4d19-ad37-1828249f65fd"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H030170228"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/fe5b77e1-b3f2-449a-bf69-80c020947caa"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "zur ärztlichen parenteralen Applikation gem. Therapieplan"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "47874cee-5e95-4d19-ad37-1828249f65fd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "3 mal 500 ml Infusionslösung (Etoposid 180 mg, NaCl 0,9 % 500 ml)"
+ },
+ "form": {
+ "text": "Infusionslösung"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "fe5b77e1-b3f2-449a-bf69-80c020947caa",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Braxton Hicks"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.xml
new file mode 100644
index 00000000..e1cf40db
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/Rez_parenterale_Zytostatika_MedicationDispense_a3d47106/output.xml
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/input.xml
new file mode 100644
index 00000000..f012ad54
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/log.txt
new file mode 100644
index 00000000..37e51b28
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/629f48e1-de56-4923-8f79-5524e954fc21*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/629f48e1-de56-4923-8f79-5524e954fc21*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/629f48e1-de56-4923-8f79-5524e954fc21*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.json
new file mode 100644
index 00000000..f348e44d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "9dd5e1aa-6fa5-43e7-8fe5-dd7d5cc2cbf4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "629f48e1-de56-4923-8f79-5524e954fc21",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/8bfef90e-5b25-43eb-aea9-f82a6fd9c866"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H030170228"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/f1a4352b-e67f-40f5-9600-160bfa00b9a5"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8bfef90e-5b25-43eb-aea9-f82a6fd9c866",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00408362"
+ } ],
+ "text": "GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f1a4352b-e67f-40f5-9600-160bfa00b9a5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Oliver Sutton"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.xml
new file mode 100644
index 00000000..aa4886aa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_9dd5e1aa/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/input.xml
new file mode 100644
index 00000000..f31143e7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/log.txt
new file mode 100644
index 00000000..624c1e8e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/034d0f92-5dd4-4583-9c5c-586911de5532*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/034d0f92-5dd4-4583-9c5c-586911de5532*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/034d0f92-5dd4-4583-9c5c-586911de5532*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.json
new file mode 100644
index 00000000..e6aac6f4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "b9ca692c-0511-4a49-a6d1-d010b7904a2d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "034d0f92-5dd4-4583-9c5c-586911de5532",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/f4fbbb03-023d-4a59-a187-831a22faea3b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H030170228"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/f8d3e002-e1e6-4fee-ba87-196029291b85"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f4fbbb03-023d-4a59-a187-831a22faea3b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00408362"
+ } ],
+ "text": "GABAPENTIN STADA 600 mg Filmtabletten (100 Stk)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f8d3e002-e1e6-4fee-ba87-196029291b85",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Liz Onnia"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.xml
new file mode 100644
index 00000000..2af8c80f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V1_MedicationDispense_b9ca692c/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/input.xml
new file mode 100644
index 00000000..fe1f4cb7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/log.txt
new file mode 100644
index 00000000..62a4b777
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5172fea2-2ffa-4ab1-bf67-682fa9661c65*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5172fea2-2ffa-4ab1-bf67-682fa9661c65*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5172fea2-2ffa-4ab1-bf67-682fa9661c65*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.json
new file mode 100644
index 00000000..b42766ff
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "48c15070-da9d-45a2-8bd1-4c2b3f2b789b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5172fea2-2ffa-4ab1-bf67-682fa9661c65",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/9921fca1-fd34-4244-b7f2-b6d4c672442b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H030170228"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/a850bffe-f924-4982-b098-c629dd8a4433"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9921fca1-fd34-4244-b7f2-b6d4c672442b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00407552"
+ } ],
+ "text": "GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a850bffe-f924-4982-b098-c629dd8a4433",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sasha Klotz"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.xml
new file mode 100644
index 00000000..f7d8ede2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_48c15070/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/input.xml
new file mode 100644
index 00000000..099d7ea4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/log.txt
new file mode 100644
index 00000000..752c9f9b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1ec00ceb-7989-4b7a-ad5d-14f1af2dafa2*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1ec00ceb-7989-4b7a-ad5d-14f1af2dafa2*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1ec00ceb-7989-4b7a-ad5d-14f1af2dafa2*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.json
new file mode 100644
index 00000000..6bbfc597
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "c90cd97e-a629-4f1c-b8bf-d0fdf96db617",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1ec00ceb-7989-4b7a-ad5d-14f1af2dafa2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/85bd9b2b-1ab4-4891-81d1-53fcdebc6a1d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "H030170228"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/38e04b7a-7319-4208-a6dc-4cbc43bd972c"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "85bd9b2b-1ab4-4891-81d1-53fcdebc6a1d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00407552"
+ } ],
+ "text": "GABAPENTIN STADA 300 mg Hartkapseln (100 Stk)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "38e04b7a-7319-4208-a6dc-4cbc43bd972c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sue Jeu"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.xml
new file mode 100644
index 00000000..9f675ad6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_BK_V2_MedicationDispense_c90cd97e/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/input.xml
new file mode 100644
index 00000000..3fdd11b0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/log.txt
new file mode 100644
index 00000000..4da503fa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/05d254ff-247d-4645-b8cf-7d36f7208530*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/05d254ff-247d-4645-b8cf-7d36f7208530*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/05d254ff-247d-4645-b8cf-7d36f7208530*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.json
new file mode 100644
index 00000000..cc158375
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "9ff7ec9a-3e31-477d-a6b4-23ccfa62f08c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "05d254ff-247d-4645-b8cf-7d36f7208530",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.022.73"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/e6744bb5-5ac5-4336-81ea-b8dc013a0fe0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/6691f23f-43de-43b4-8efa-c1788e8b6334"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e6744bb5-5ac5-4336-81ea-b8dc013a0fe0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00232236"
+ } ],
+ "text": "SIMVA BASICS 20 mg Filmtabletten (100 Stk)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6691f23f-43de-43b4-8efa-c1788e8b6334",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Lee Nover"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.xml
new file mode 100644
index 00000000..66005fa1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_9ff7ec9a/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/input.xml
new file mode 100644
index 00000000..5a79c4e7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/log.txt
new file mode 100644
index 00000000..ecaa3ad2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/1865dd7a-6422-4c0b-b05d-b15b629d2ffd*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/1865dd7a-6422-4c0b-b05d-b15b629d2ffd*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/1865dd7a-6422-4c0b-b05d-b15b629d2ffd*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.json
new file mode 100644
index 00000000..6db622ce
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "d697d945-b98a-41ec-bb31-4e2bf418e6a0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "1865dd7a-6422-4c0b-b05d-b15b629d2ffd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.022.73"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/aaeaaa57-dd24-4cca-b08a-68d9c72f9ce7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/80c13f30-2c32-494e-9980-0c2a61132a02"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "aaeaaa57-dd24-4cca-b08a-68d9c72f9ce7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00232236"
+ } ],
+ "text": "SIMVA BASICS 20 mg Filmtabletten (100 Stk)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "80c13f30-2c32-494e-9980-0c2a61132a02",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Gene E. Yuss"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.xml
new file mode 100644
index 00000000..759052a7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV1_MedicationDispense_d697d945/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/input.xml
new file mode 100644
index 00000000..5f03b8fe
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/log.txt
new file mode 100644
index 00000000..bbb6c8ac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/322e455d-9f95-4025-9e5f-3a5da847ea67*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/322e455d-9f95-4025-9e5f-3a5da847ea67*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/322e455d-9f95-4025-9e5f-3a5da847ea67*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.json
new file mode 100644
index 00000000..184db4f9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "72e8c90f-4767-42dd-b8db-203a78c9c232",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "322e455d-9f95-4025-9e5f-3a5da847ea67",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.027.58"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/0a1fd337-7996-4dfc-8bda-71769d6e04a0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/d3d70e59-59f8-4890-b627-9444c6ba247b"
+ }
+ } ],
+ "whenHandedOver": "2025-01-30"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0a1fd337-7996-4dfc-8bda-71769d6e04a0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02846592"
+ } ],
+ "text": "SIMVAHEXAL 20 mg Filmtabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d3d70e59-59f8-4890-b627-9444c6ba247b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Carrie A. Tune"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.xml
new file mode 100644
index 00000000..843b0e4d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_72e8c90f/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/input.xml
new file mode 100644
index 00000000..89a95600
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/input.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/log.txt
new file mode 100644
index 00000000..ecd75ad2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/42c74092-820c-4b42-88e2-718c47e6eedb*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/42c74092-820c-4b42-88e2-718c47e6eedb*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/42c74092-820c-4b42-88e2-718c47e6eedb*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.json
new file mode 100644
index 00000000..af11424e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.json
@@ -0,0 +1,122 @@
+{
+ "resourceType": "Parameters",
+ "id": "80760961-fdfc-4c57-a682-8de925f6f40d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "42c74092-820c-4b42-88e2-718c47e6eedb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.027.58"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/3e656570-c914-4f3d-8e6f-2492338f3744"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/6a73c874-e3c7-4bfc-afac-8b55e31148ff"
+ }
+ } ],
+ "whenHandedOver": "2023-09-30"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3e656570-c914-4f3d-8e6f-2492338f3744",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02846592"
+ } ],
+ "text": "SIMVAHEXAL 20 mg Filmtabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6a73c874-e3c7-4bfc-afac-8b55e31148ff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Terry Bull"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.xml
new file mode 100644
index 00000000..365f829b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_MV2_MedicationDispense_80760961/output.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/input.xml
new file mode 100644
index 00000000..1989bf2b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/log.txt
new file mode 100644
index 00000000..0c188073
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/5175ab86-2c3c-4c3e-b9af-d8ed57bca482*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/5175ab86-2c3c-4c3e-b9af-d8ed57bca482*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/5175ab86-2c3c-4c3e-b9af-d8ed57bca482*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.json
new file mode 100644
index 00000000..8ca694fe
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "01dee893-07b0-4e39-9083-80c4aa91596f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "5175ab86-2c3c-4c3e-b9af-d8ed57bca482",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.021.76"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/3804f5b2-2c7c-4b1f-93c7-ad8fdefe4eaf"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/9675d049-b16d-40ef-b673-71b13166ed30"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3804f5b2-2c7c-4b1f-93c7-ad8fdefe4eaf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12481766"
+ } ],
+ "text": "Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "RET"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "20"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9675d049-b16d-40ef-b673-71b13166ed30",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Pearl E. Whites"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.xml
new file mode 100644
index 00000000..a22cf48a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_01dee893/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/input.xml
new file mode 100644
index 00000000..faba51ab
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/log.txt
new file mode 100644
index 00000000..6e8101b9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/0745a568-29b2-4e4f-81f6-802739e6392b*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/0745a568-29b2-4e4f-81f6-802739e6392b*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/0745a568-29b2-4e4f-81f6-802739e6392b*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.json
new file mode 100644
index 00000000..74bf63ae
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "dc4c994a-7b55-44c9-861f-4a8881799f68",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "0745a568-29b2-4e4f-81f6-802739e6392b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.021.76"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/0db791de-b440-4092-bee7-06c910e9dcec"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/11d1c096-e219-42e5-9ca6-10d7fa01ac49"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0db791de-b440-4092-bee7-06c910e9dcec",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12481766"
+ } ],
+ "text": "Diclofenac Natrium Micro Labs 75 mg Reta, 20 St"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "RET"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "20"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11d1c096-e219-42e5-9ca6-10d7fa01ac49",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ima Lytle Teapot"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.xml
new file mode 100644
index 00000000..b116507f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_Unfall_MedicationDispense_dc4c994a/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/input.xml
new file mode 100644
index 00000000..b0dc4383
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/log.txt
new file mode 100644
index 00000000..3f222919
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/926e80a6-f406-454d-a530-77a595f9f085*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/926e80a6-f406-454d-a530-77a595f9f085*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/926e80a6-f406-454d-a530-77a595f9f085*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.json
new file mode 100644
index 00000000..b9051431
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "bead4326-91da-4e33-94e3-0c94c5d5c99c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "926e80a6-f406-454d-a530-77a595f9f085",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/3b466bb7-8fad-48d2-be20-2cd673e5b97c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/ed6d05e0-8980-4de8-8a1d-00dfa75fc94a"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3b466bb7-8fad-48d2-be20-2cd673e5b97c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00766759"
+ } ],
+ "text": "RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ed6d05e0-8980-4de8-8a1d-00dfa75fc94a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ilene Left"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.xml
new file mode 100644
index 00000000..ff2a9f80
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_bead4326/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/input.xml
new file mode 100644
index 00000000..29c11410
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/log.txt
new file mode 100644
index 00000000..0c9f2d22
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/2f325141-750c-40c7-8110-66a5ef14b99f*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/2f325141-750c-40c7-8110-66a5ef14b99f*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/2f325141-750c-40c7-8110-66a5ef14b99f*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.json
new file mode 100644
index 00000000..f2f07ed0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "f928bb5f-441f-4d1a-b634-1592db3f3cbb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "2f325141-750c-40c7-8110-66a5ef14b99f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/188f2da6-7310-4167-a86c-b5648e6dc23e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/20cb977a-028f-4bc5-a79d-6213ffcb6ad6"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "188f2da6-7310-4167-a86c-b5648e6dc23e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00766759"
+ } ],
+ "text": "RAMIPRIL-1A Pharma 5 mg Tabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "20cb977a-028f-4bc5-a79d-6213ffcb6ad6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sherman Wadd Evver"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.xml
new file mode 100644
index 00000000..635ddafb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V1_MedicationDispense_f928bb5f/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/input.xml
new file mode 100644
index 00000000..7ebd01b3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/log.txt
new file mode 100644
index 00000000..07fb5922
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/cbb5172d-4726-449b-9ef2-25dd70ad6935*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/cbb5172d-4726-449b-9ef2-25dd70ad6935*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/cbb5172d-4726-449b-9ef2-25dd70ad6935*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.json
new file mode 100644
index 00000000..3e97e0c0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "5008abb4-c336-43ee-a1cb-3a1a4dc0be5b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "cbb5172d-4726-449b-9ef2-25dd70ad6935",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/d3d14c17-7530-4724-8a04-089ae2fa5ff4"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/38b69981-cbc6-40ff-a30d-b0be80f21079"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "d3d14c17-7530-4724-8a04-089ae2fa5ff4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01755640"
+ } ],
+ "text": "RAMIPRIL AbZ 5 mg Tabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "38b69981-cbc6-40ff-a30d-b0be80f21079",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Emma Royds"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.xml
new file mode 100644
index 00000000..8bb4d4ac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_5008abb4/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/input.xml
new file mode 100644
index 00000000..c4c00fe0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/log.txt
new file mode 100644
index 00000000..c7161dac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/3e1e98cf-9ebe-41f1-ac8f-309b7d47c6bf*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/3e1e98cf-9ebe-41f1-ac8f-309b7d47c6bf*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/3e1e98cf-9ebe-41f1-ac8f-309b7d47c6bf*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.json
new file mode 100644
index 00000000..bc006f9f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "d6799e8c-e18d-4b96-9c49-81acfe52628b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "3e1e98cf-9ebe-41f1-ac8f-309b7d47c6bf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/643effa8-69f0-477a-a2dd-c6ced07b8687"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/7d5aa037-0611-4e8b-bf34-e0e3517db1eb"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "643effa8-69f0-477a-a2dd-c6ced07b8687",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01755640"
+ } ],
+ "text": "RAMIPRIL AbZ 5 mg Tabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7d5aa037-0611-4e8b-bf34-e0e3517db1eb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Ryan Carnation"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.xml
new file mode 100644
index 00000000..e76f5ecc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V2_MedicationDispense_d6799e8c/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/input.xml
new file mode 100644
index 00000000..56c55857
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/log.txt
new file mode 100644
index 00000000..6b545d0e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/85950d6a-7de1-468f-b331-56399ed38f90*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/85950d6a-7de1-468f-b331-56399ed38f90*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/85950d6a-7de1-468f-b331-56399ed38f90*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.json
new file mode 100644
index 00000000..f1e161ed
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "2b8b7bec-eba8-4b86-82f9-8b31c277ec09",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "85950d6a-7de1-468f-b331-56399ed38f90",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/6a21f5e1-9c6e-4dd9-9357-8d1d45650ff2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/0aec6870-ed81-4cdc-8872-d98dd10ba816"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "6a21f5e1-9c6e-4dd9-9357-8d1d45650ff2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00761360"
+ } ],
+ "text": "RAMIPRIL beta 5 mg Tabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0aec6870-ed81-4cdc-8872-d98dd10ba816",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Lois Price"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.xml
new file mode 100644
index 00000000..ffcb5145
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_2b8b7bec/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/input.xml
new file mode 100644
index 00000000..cc76a189
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/log.txt
new file mode 100644
index 00000000..8a474a18
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/6efaca44-28ff-47fd-9b3c-ea40e72938a6*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/6efaca44-28ff-47fd-9b3c-ea40e72938a6*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/6efaca44-28ff-47fd-9b3c-ea40e72938a6*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.json
new file mode 100644
index 00000000..db17b6a4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "b3753083-6be9-41ac-b4cc-7c70c6ed9e8b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "6efaca44-28ff-47fd-9b3c-ea40e72938a6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/dafb6fec-7323-49d3-af1c-97d402fd5f66"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/b3103bd8-5d64-4cb6-ac88-dbf02006875b"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "dafb6fec-7323-49d3-af1c-97d402fd5f66",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00761360"
+ } ],
+ "text": "RAMIPRIL beta 5 mg Tabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3103bd8-5d64-4cb6-ac88-dbf02006875b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Leo Tarred"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.xml
new file mode 100644
index 00000000..da198ac9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V3_MedicationDispense_b3753083/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/input.xml
new file mode 100644
index 00000000..2a9cc2d2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/log.txt
new file mode 100644
index 00000000..40b09908
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/28ee2645-6a83-4aae-8b02-ae1078354276*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/28ee2645-6a83-4aae-8b02-ae1078354276*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/28ee2645-6a83-4aae-8b02-ae1078354276*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.json
new file mode 100644
index 00000000..c4e9e987
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "336380fd-cb44-4e9e-b489-74f1b3018838",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "28ee2645-6a83-4aae-8b02-ae1078354276",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/cbef045f-ff17-472f-a108-00a23542de1d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/50f1535a-d21b-4758-8e75-2b46f39ccfa7"
+ }
+ } ],
+ "whenHandedOver": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "cbef045f-ff17-472f-a108-00a23542de1d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01097987"
+ } ],
+ "text": "DELIX 5 mg Tabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2024-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "50f1535a-d21b-4758-8e75-2b46f39ccfa7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Nick O'Teen"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.xml
new file mode 100644
index 00000000..195e0363
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_336380fd/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/input.xml
new file mode 100644
index 00000000..8138d2db
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/input.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/log.txt
new file mode 100644
index 00000000..cba19d6e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/793369fc-44e5-4048-9720-91bd9fd7339b*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/793369fc-44e5-4048-9720-91bd9fd7339b*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/793369fc-44e5-4048-9720-91bd9fd7339b*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.json
new file mode 100644
index 00000000..949cf14c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.json
@@ -0,0 +1,125 @@
+{
+ "resourceType": "Parameters",
+ "id": "749b8a4f-4633-421d-a7e5-24c6342c84cd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "793369fc-44e5-4048-9720-91bd9fd7339b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/c187ab3f-15ac-42de-a7e7-c334298941fb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K030182229"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/c3ada206-b59a-44ac-8c4a-41c8ccd1b59e"
+ }
+ } ],
+ "whenHandedOver": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c187ab3f-15ac-42de-a7e7-c334298941fb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01097987"
+ } ],
+ "text": "DELIX 5 mg Tabletten (100 St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Tabletten"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "A123456789-1",
+ "expirationDate": "2025-12-31"
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c3ada206-b59a-44ac-8c4a-41c8ccd1b59e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-07.2.1234560000.10.789"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Sir Fin Waves"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.xml
new file mode 100644
index 00000000..1da906dd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationDispense/WS_V4_MedicationDispense_749b8a4f/output.xml
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/input.xml
new file mode 100644
index 00000000..e06bf026
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.json
new file mode 100644
index 00000000..9a1801e4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "ba4e7121-05ca-491d-9c7c-4404c8b29f6b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "69c03b1c-93d9-4ad0-9603-d89c730e9834",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/8819a480-3181-4db1-ba49-4f3e84de15dc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8819a480-3181-4db1-ba49-4f3e84de15dc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "Metformin 850mg Tabletten N3"
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ebf4c8a2-c39f-4032-a809-0684ada2de4c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "19121851-0f5b-4d96-84f5-c91210fbfb97",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.xml
new file mode 100644
index 00000000..ce95ea76
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/Beispiel_22_ba4e7121/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/input.xml
new file mode 100644
index 00000000..8f80c802
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.json
new file mode 100644
index 00000000..2d7dfe39
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "4986252f-8d8d-42b3-9f6d-915e70b11fea",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "e339ca0d-7be3-478f-a90d-80b840962f81",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/0399e3f8-9278-482c-86ae-c906f65b7e15"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0399e3f8-9278-482c-86ae-c906f65b7e15",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "Metformin 850mg Tabletten N3"
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "bfc3fdd2-cfef-4d9a-92a3-dfffd7f46315",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a70834ee-c811-492d-9c67-c7517f12db65",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.xml
new file mode 100644
index 00000000..033ac563
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_4986252f/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/input.xml
new file mode 100644
index 00000000..5023d14c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.json
new file mode 100644
index 00000000..0c0548d2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "525fb142-37f7-497c-b320-c23d447550f3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9967a6ff-9f6d-4178-8537-4dc9acdb6e34",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/beb0a6b2-4b9a-4b87-9248-0bd1bbe2f7c1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "beb0a6b2-4b9a-4b87-9248-0bd1bbe2f7c1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "Metformin 850mg Tabletten N3"
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3c6d4829-cfe5-43bb-8fe4-47e6193bee1b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2bb72ad1-a2a9-4025-b1df-5f57fe8bcc44",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.xml
new file mode 100644
index 00000000..3324020b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V1_VerordnungArzt_525fb142/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/input.xml
new file mode 100644
index 00000000..8f80c802
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.json
new file mode 100644
index 00000000..a431a691
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "2f7fa888-a5d3-4c66-9b00-9fcb8d3c1ade",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "d9a29b19-38f1-4cd0-8a04-c268539251a7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a3b904d0-0b33-49ae-80fc-e411b255aaa6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a3b904d0-0b33-49ae-80fc-e411b255aaa6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "Metformin 850mg Tabletten N3"
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4bc05bab-3dd9-485c-8666-ff8414111b3a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e50dede6-7dc4-42bb-9c64-b4f64272dff9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.xml
new file mode 100644
index 00000000..76184261
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_2f7fa888/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/input.xml
new file mode 100644
index 00000000..5023d14c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.json
new file mode 100644
index 00000000..ef221dc8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "a0a0fa28-80a9-49ff-9fbb-fa42d93cae40",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.023.70"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "15ee0164-fbe3-4529-970a-83b290c02e7b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/17d27cb8-6746-4410-8d2d-52ce93a04673"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "17d27cb8-6746-4410-8d2d-52ce93a04673",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "Metformin 850mg Tabletten N3"
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "51da6360-8405-4e57-8d21-47a8e63d1069",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "feeee700-033a-402e-aa0e-a98cdad05597",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.xml
new file mode 100644
index 00000000..c7c288db
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationFreeText/FT_V2_VerordnungArzt_a0a0fa28/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/input.xml
new file mode 100644
index 00000000..3d059037
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/input.xml
@@ -0,0 +1,444 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.json
new file mode 100644
index 00000000..4751115f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.json
@@ -0,0 +1,243 @@
+{
+ "resourceType": "Parameters",
+ "id": "6e2b78ab-98dd-41de-b50b-1161535577a4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.018.85"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "89a3151f-13eb-4550-9f2b-38854a94189e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1f404c09-4ad0-46a9-b621-35019697a73a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1f404c09-4ad0-46a9-b621-35019697a73a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "20"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "5682"
+ } ],
+ "text": "Ibuprofen"
+ },
+ "strength": {
+ "numerator": {
+ "value": 600,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "92a9f3a5-cc45-49a0-b39f-51ab495ed04c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "34502125-b578-4f7a-8dba-73fe94bee370",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.xml
new file mode 100644
index 00000000..8143a836
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_16_6e2b78ab/output.xml
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/input.xml
new file mode 100644
index 00000000..8b011b26
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.json
new file mode 100644
index 00000000..7323fd3f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "01142458-2598-4eab-8da4-195b22bf4e94",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "8edefbc8-1d98-4afb-a958-aa9019e50d5d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/bd63aa68-6032-4692-aeb7-5ebb7ded6da9"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "bd63aa68-6032-4692-aeb7-5ebb7ded6da9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "01097f32-a8f4-4af3-b058-50cba0b42ad7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "851f4b99-0cd6-4c3d-b956-4c8bc68ab506",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.xml
new file mode 100644
index 00000000..a7c93910
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_17_01142458/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/input.xml
new file mode 100644
index 00000000..1e87bdff
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/input.xml
@@ -0,0 +1,428 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.json
new file mode 100644
index 00000000..790bbd74
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.json
@@ -0,0 +1,276 @@
+{
+ "resourceType": "Parameters",
+ "id": "fe99181f-9c4f-4134-a6d7-6456437f9932",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "034d0542-b12a-4a45-9859-cde4728b1004",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/0b1cba31-110f-465e-93d5-fe187eb3032c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0b1cba31-110f-465e-93d5-fe187eb3032c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22308"
+ } ],
+ "text": "Gabapentin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 300,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "Gabapentin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 300,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3a8ec439-1f36-4dde-9749-b8cbcbc5b835",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "0ddae6b7-9a52-4175-9e77-d67e2a3eba00",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.xml
new file mode 100644
index 00000000..7c144e64
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_18_fe99181f/output.xml
@@ -0,0 +1,274 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/input.xml
new file mode 100644
index 00000000..9faa4343
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/input.xml
@@ -0,0 +1,406 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.json
new file mode 100644
index 00000000..1bcb0169
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.json
@@ -0,0 +1,242 @@
+{
+ "resourceType": "Parameters",
+ "id": "9eb9d0af-fef5-4dc3-96ce-7ee470869741",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.021.76"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9e5d3a71-18e7-4dfa-84ee-5ef83a094a7c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/cfe397fd-b1ec-4d79-8607-b60ae9373f16"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "cfe397fd-b1ec-4d79-8607-b60ae9373f16",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "form": {
+ "text": "Retardtabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "20"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "11900"
+ } ],
+ "text": "Diclofenac-Natrium"
+ },
+ "strength": {
+ "numerator": {
+ "value": 75,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "56d2e0da-c0fc-49d9-89b6-0dc594d673b0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f8638d39-84c0-4559-a793-cd14ed6fa6f7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.xml
new file mode 100644
index 00000000..f7018c5b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_19_9eb9d0af/output.xml
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/input.xml
new file mode 100644
index 00000000..a0785b50
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.json
new file mode 100644
index 00000000..6d526918
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.json
@@ -0,0 +1,248 @@
+{
+ "resourceType": "Parameters",
+ "id": "c1bbfd8b-c955-4d97-8908-2f5e4a7d2e6f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.022.73"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2021-04-01"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "7c90826e-0960-430a-ba90-9a9408fb10cd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 2
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2021-04-01"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/9a57bca6-e339-43b8-999b-1e214d736533"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2021-04-01",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9a57bca6-e339-43b8-999b-1e214d736533",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "23816"
+ } ],
+ "text": "Simvastatin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 20,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e99e5daf-72c4-4df2-9891-fc3b2344d455",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36ada00c-dbd0-4788-b172-47eb658b0a29",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.xml
new file mode 100644
index 00000000..9fe61f54
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_1_c1bbfd8b/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/input.xml
new file mode 100644
index 00000000..38d5e897
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.json
new file mode 100644
index 00000000..620640bb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.json
@@ -0,0 +1,248 @@
+{
+ "resourceType": "Parameters",
+ "id": "67ebe8c1-3b8d-4b6b-9fa2-1f9e8748594a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.027.58"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2021-04-01"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1f133419-9d11-4832-b989-a15342419ead",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 2
+ },
+ "denominator": {
+ "value": 2
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2021-06-15"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b3b4bbd6-567e-4d12-b4cc-3ebbeb511949"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2021-04-01",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b3b4bbd6-567e-4d12-b4cc-3ebbeb511949",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "23816"
+ } ],
+ "text": "Simvastatin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 20,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1dcabf8c-ccf7-485f-b795-9d7b3a0bac47",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "dd61cd21-c866-4387-8bd1-08fa85636751",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.xml
new file mode 100644
index 00000000..1f98115f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_21_2_67ebe8c1/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/input.xml
new file mode 100644
index 00000000..ad6d5c3d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/input.xml
@@ -0,0 +1,370 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.json
new file mode 100644
index 00000000..b468ea3c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.json
@@ -0,0 +1,227 @@
+{
+ "resourceType": "Parameters",
+ "id": "a90c2e57-ef70-4fdc-a852-d88961d882cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.033.40"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b03d634f-3db5-4f88-a07c-2ccb16321689",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/35c23913-91b7-4840-ab77-160ebbbb8357"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "35c23913-91b7-4840-ab77-160ebbbb8357",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22339"
+ } ],
+ "text": "Somatropin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 12,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a8138e59-004e-480b-8623-61a542f00f8f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "7fed72e7-aa72-495b-bb84-3c64bfc7b3ce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.xml
new file mode 100644
index 00000000..6db71b3a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_29_a90c2e57/output.xml
@@ -0,0 +1,229 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/input.xml
new file mode 100644
index 00000000..b710436f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/input.xml
@@ -0,0 +1,370 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.json
new file mode 100644
index 00000000..a593ab53
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.json
@@ -0,0 +1,227 @@
+{
+ "resourceType": "Parameters",
+ "id": "97f6247a-676f-4350-ad0e-24e1fa4e2586",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.058.62"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9520e77c-75fb-4bf3-ab8c-b1cf9e8f46af",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/68f94ad1-1880-4680-be06-59eccab3350f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "68f94ad1-1880-4680-be06-59eccab3350f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "form": {
+ "text": "Filmtabletten"
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "30150"
+ } ],
+ "text": "Vardenafil"
+ },
+ "strength": {
+ "numerator": {
+ "value": 10,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0c947bd5-9cbf-41bd-9751-fa81ae33ace9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4de0fb61-2ac1-43d6-aa0d-8d9a85b64bfc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.xml
new file mode 100644
index 00000000..03860903
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/Beispiel_58_97f6247a/output.xml
@@ -0,0 +1,229 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/input.xml
new file mode 100644
index 00000000..ff2cf4e4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/input.xml
@@ -0,0 +1,414 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.json
new file mode 100644
index 00000000..f2cf210e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.json
@@ -0,0 +1,239 @@
+{
+ "resourceType": "Parameters",
+ "id": "7dc8dca7-65b6-4c40-8e0e-c64d807a817e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "c73f5a93-068f-4c2f-861c-3b087885cc7f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/532640fb-aac2-469a-a303-1058a563527e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "532640fb-aac2-469a-a303-1058a563527e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22308"
+ } ],
+ "text": "Gabapentin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 300,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a74550e7-4b12-4f75-ae26-44b06389a683",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "74403da9-2669-4f0c-a5c7-b7f0b986ce10",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.xml
new file mode 100644
index 00000000..9916876b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_7dc8dca7/output.xml
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/input.xml
new file mode 100644
index 00000000..4cd54e24
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/input.xml
@@ -0,0 +1,414 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.json
new file mode 100644
index 00000000..0d9c7ea7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.json
@@ -0,0 +1,239 @@
+{
+ "resourceType": "Parameters",
+ "id": "f0255f73-4409-4383-9e28-8401763b610d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "c860f15a-9526-4aec-ad08-21ad609d173f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/8a0b51bb-da20-4e70-a47f-7733d369547f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8a0b51bb-da20-4e70-a47f-7733d369547f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22308"
+ } ],
+ "text": "Gabapentin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 300,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "888bf544-51c1-42d6-a976-f00f2f4e95c9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6bf3896-fe4e-4a0b-a3af-e2ecbca70bde",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.xml
new file mode 100644
index 00000000..4ed39c32
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V1_VerordnungArzt_f0255f73/output.xml
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/input.xml
new file mode 100644
index 00000000..ff2cf4e4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/input.xml
@@ -0,0 +1,414 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.json
new file mode 100644
index 00000000..c0bdf1cc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.json
@@ -0,0 +1,239 @@
+{
+ "resourceType": "Parameters",
+ "id": "19ee1a38-15d8-4c06-865c-68e3d55c1351",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "54d7f7f3-2c3e-4c66-9f6a-734f89e58878",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1faa49b4-e1b8-46c1-b1e8-252c1cbb7db4"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1faa49b4-e1b8-46c1-b1e8-252c1cbb7db4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22308"
+ } ],
+ "text": "Gabapentin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 300,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6d547bd9-3b29-457c-b846-3521fac7ddbb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "bd27bb72-1a73-4b7d-89b6-2f13b221e3d7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.xml
new file mode 100644
index 00000000..a611553a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_19ee1a38/output.xml
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/input.xml
new file mode 100644
index 00000000..4cd54e24
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/input.xml
@@ -0,0 +1,414 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.json
new file mode 100644
index 00000000..195d657b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.json
@@ -0,0 +1,239 @@
+{
+ "resourceType": "Parameters",
+ "id": "b4263a0b-7173-4338-8611-4246f4bc8949",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.020.79"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "669079fe-2b61-413f-9420-dd2e75d1621b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/ddd348ed-f957-4949-931f-46e36482a2bb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ddd348ed-f957-4949-931f-46e36482a2bb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22308"
+ } ],
+ "text": "Gabapentin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 300,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6ac39e1f-7fbd-4233-adc5-e0db4cefd071",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "1b7b80f6-a127-4669-bec4-c742b97ce374",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.xml
new file mode 100644
index 00000000..ced790ad
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_BK_V2_VerordnungArzt_b4263a0b/output.xml
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/input.xml
new file mode 100644
index 00000000..53be52a0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.json
new file mode 100644
index 00000000..c60f59ac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.json
@@ -0,0 +1,248 @@
+{
+ "resourceType": "Parameters",
+ "id": "6cd22004-c851-43bd-ae92-1d341e3fa93b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.022.73"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "009b3387-f4d0-416e-815e-627ea0eb90d0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 2
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2023-07-27"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/cc60e0e6-bfab-4eeb-a3f6-8f0f8eadae96"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "cc60e0e6-bfab-4eeb-a3f6-8f0f8eadae96",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "23816"
+ } ],
+ "text": "Simvastatin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 20,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "63dc5fc5-5a14-4c0f-b25c-11dac171a20c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a893e520-6b8a-4586-b623-0c885e0f03a7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.xml
new file mode 100644
index 00000000..8d9755a5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_6cd22004/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/input.xml
new file mode 100644
index 00000000..17503370
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.json
new file mode 100644
index 00000000..80346631
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.json
@@ -0,0 +1,248 @@
+{
+ "resourceType": "Parameters",
+ "id": "855669ce-b86c-4b58-8991-5c310599fc17",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.022.73"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9cf79fef-6398-4772-a913-82988beb7bd2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 2
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-11-27"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/fac2d08b-aadb-4980-acb3-750b3b8bfe44"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "fac2d08b-aadb-4980-acb3-750b3b8bfe44",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "23816"
+ } ],
+ "text": "Simvastatin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 20,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5afb32ea-1463-4bf9-b259-85e293354da4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "babc7651-88bb-4288-97aa-c70d081054cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.xml
new file mode 100644
index 00000000..a36b14f8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV1_VerordnungArzt_855669ce/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/input.xml
new file mode 100644
index 00000000..41148b01
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.json
new file mode 100644
index 00000000..7b1d7622
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.json
@@ -0,0 +1,248 @@
+{
+ "resourceType": "Parameters",
+ "id": "0e20c760-fcac-434c-94ae-5133f4b59eb6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.027.58"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "d3d63b4e-3e26-4afa-8ad3-f681af1ea2cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 2
+ },
+ "denominator": {
+ "value": 2
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2023-09-15"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/510a84d5-4f56-4ed4-8d6d-53ccdac831aa"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "510a84d5-4f56-4ed4-8d6d-53ccdac831aa",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "23816"
+ } ],
+ "text": "Simvastatin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 20,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "dfab7a53-4b2e-4ffc-8cf1-c41e66dbf926",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ea08fc8f-80d0-4be2-a08d-fd81cbfcb06a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.xml
new file mode 100644
index 00000000..088a8080
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_0e20c760/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/input.xml
new file mode 100644
index 00000000..1c835296
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.json
new file mode 100644
index 00000000..005213b5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.json
@@ -0,0 +1,248 @@
+{
+ "resourceType": "Parameters",
+ "id": "d1c94e5f-4ff1-4ace-8330-d109c35e8dc7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.027.58"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b4d44313-868d-4b65-8e98-937c424f8bc6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 2
+ },
+ "denominator": {
+ "value": 2
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2025-01-15"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:807f02b0-0431-4f36-b052-77ae77f4157b"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/bc7aac49-f6a2-4d50-ba08-a6f974e26dfc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "bc7aac49-f6a2-4d50-ba08-a6f974e26dfc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "23816"
+ } ],
+ "text": "Simvastatin"
+ },
+ "strength": {
+ "numerator": {
+ "value": 20,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f6e71e5c-62a1-42dc-a0b3-f9540dc23897",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a7f65ddd-2f1f-427d-9db8-f27ae6ceaaa6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.xml
new file mode 100644
index 00000000..ac4e7c1d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_MV2_VerordnungArzt_d1c94e5f/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/input.xml
new file mode 100644
index 00000000..3c530cf0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/input.xml
@@ -0,0 +1,406 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.json
new file mode 100644
index 00000000..bacd88d7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.json
@@ -0,0 +1,242 @@
+{
+ "resourceType": "Parameters",
+ "id": "2d950b54-3c16-46ff-a066-e2cfe7df21d1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.021.76"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "99fcc4be-478c-436f-ba85-15f0df2616ea",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/0eb9adcd-6096-4bd3-85ad-c4bf0d6389b0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0eb9adcd-6096-4bd3-85ad-c4bf0d6389b0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "form": {
+ "text": "Retardtabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "20"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "11900"
+ } ],
+ "text": "Diclofenac-Natrium"
+ },
+ "strength": {
+ "numerator": {
+ "value": 75,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "05b53220-f936-4207-94db-c5ddf881917c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f2127273-2b98-4273-ba0b-636a6acb6806",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.xml
new file mode 100644
index 00000000..8b6a8041
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_2d950b54/output.xml
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/input.xml
new file mode 100644
index 00000000..1dcbc657
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/input.xml
@@ -0,0 +1,406 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.json
new file mode 100644
index 00000000..011d014a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.json
@@ -0,0 +1,242 @@
+{
+ "resourceType": "Parameters",
+ "id": "c49e3851-dcfa-45e5-a6a7-9091cc3b8b2f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.021.76"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "f8596dcd-8f7e-4f86-acc6-585ab45f855c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/2b0d2067-41cf-46b3-a589-70a09481f4df"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "2b0d2067-41cf-46b3-a589-70a09481f4df",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "form": {
+ "text": "Retardtabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "20"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "11900"
+ } ],
+ "text": "Diclofenac-Natrium"
+ },
+ "strength": {
+ "numerator": {
+ "value": 75,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1519454c-768b-4d0c-bf26-c842845de5f0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d1947a8c-cd83-42cc-9840-532a09f4c83b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.xml
new file mode 100644
index 00000000..6b603c54
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_Unfall_VerordnungArzt_c49e3851/output.xml
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/input.xml
new file mode 100644
index 00000000..b44c7f76
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.json
new file mode 100644
index 00000000..a5efb907
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "86dcf637-1d9f-428a-9b72-5dbb8570bf34",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "940204d6-6481-4de4-9bff-24760bf5bb46",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b3bd044e-51f7-4f9b-b246-4b8e124091f6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b3bd044e-51f7-4f9b-b246-4b8e124091f6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "bdfa0c2d-daab-4774-ba68-f03243d2a747",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "0a90b855-fea0-44b8-9ab9-af031ca3ec3f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.xml
new file mode 100644
index 00000000..456018fc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_86dcf637/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/input.xml
new file mode 100644
index 00000000..ad651cf7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.json
new file mode 100644
index 00000000..0bd386a1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "e065344f-6a41-4da4-adbb-e9526a356281",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "01c54bdb-52e5-4978-9114-e2410b5bf694",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/66be3439-b2c9-4f1e-877c-4107a05f7e49"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "66be3439-b2c9-4f1e-877c-4107a05f7e49",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "63f0cde3-751e-4bb7-97d4-2f1f5349e921",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf950eb5-0247-4b25-a51d-9794500552dd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.xml
new file mode 100644
index 00000000..0d1e8a6b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V1_VerordnungArzt_e065344f/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/input.xml
new file mode 100644
index 00000000..b44c7f76
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.json
new file mode 100644
index 00000000..fbb82a46
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "1951fd21-d593-442d-9139-1c8b57597feb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "55087ec1-bf5d-4e60-829d-0256c23f6755",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/5ea16472-ec94-4f86-99b7-dbd804f8760d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "5ea16472-ec94-4f86-99b7-dbd804f8760d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c124fb65-6505-4324-9f70-e068e27e2ce1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "37439d2b-8e0f-479d-8b8e-7efdbffc2742",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.xml
new file mode 100644
index 00000000..ba2a3bd6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_1951fd21/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/input.xml
new file mode 100644
index 00000000..ad651cf7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.json
new file mode 100644
index 00000000..3e20d220
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "68631a1b-0d0d-41e1-b959-bbf15a83082d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "e20e77ed-3873-4ff5-b935-55e865fb47a9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/0da2a3f7-4c6d-4cf7-826f-b80700fd3d5c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0da2a3f7-4c6d-4cf7-826f-b80700fd3d5c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6cff63ea-cae9-47f1-a50b-817f024ef7af",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3fb283f7-ac68-4a74-8df9-0940076cb181",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.xml
new file mode 100644
index 00000000..16437d19
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V2_VerordnungArzt_68631a1b/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/input.xml
new file mode 100644
index 00000000..ad651cf7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.json
new file mode 100644
index 00000000..4d8fff6f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "a07c7844-d45a-46e6-be63-1f15f560eced",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "69137af1-37c4-42c7-a441-4bfd48fd8175",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/341045da-cbb5-4db4-bd27-5bec94f9550d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "341045da-cbb5-4db4-bd27-5bec94f9550d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "78c82665-0db6-4356-9788-aa343ff64802",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "50d178f8-e052-4c31-8fc1-621fb94286cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.xml
new file mode 100644
index 00000000..0b733302
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_a07c7844/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/input.xml
new file mode 100644
index 00000000..b44c7f76
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.json
new file mode 100644
index 00000000..2f0c73d7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "f7577903-394a-4d4c-98b6-282ddd7f9daa",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "954da6f0-632d-4369-8ce7-0ef641d5d274",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b55f176a-afeb-448b-899f-c41162da608a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b55f176a-afeb-448b-899f-c41162da608a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8776233b-3a50-4501-82ab-0e5c84e2569f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "7aac2b2b-ebee-45ca-ad99-9431149051bc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.xml
new file mode 100644
index 00000000..f955d1e8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V3_VerordnungArzt_f7577903/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/input.xml
new file mode 100644
index 00000000..ad651cf7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.json
new file mode 100644
index 00000000..8c86e24c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "ea19671f-18c5-4ae6-9ef1-ca48509bddee",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1269976b-f90f-4a1f-aaf9-58f2e6c96686",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/e79b8765-4b4f-45d6-ac59-5b4a57c80d19"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e79b8765-4b4f-45d6-ac59-5b4a57c80d19",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b5d2f04a-a222-4108-8c27-1e21840a95c9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4470b42c-13b5-4eb9-bf3b-c404d62adea7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.xml
new file mode 100644
index 00000000..3572077b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_ea19671f/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/input.xml
new file mode 100644
index 00000000..b44c7f76
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.json
new file mode 100644
index 00000000..7c29fc2d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.json
@@ -0,0 +1,250 @@
+{
+ "resourceType": "Parameters",
+ "id": "fa6f0220-fa3d-4823-86a2-49f4ceac633e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.019.82"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "0d2b9eed-f8f2-477d-a9b9-ffe93a89d2e9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/23b396cf-720e-4dfe-a85c-40c893c3bb4c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "note": [ {
+ "text": "Bitte längliche Tabletten, da Patient Probleme mit dem Schlucken von runden hat."
+ } ],
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "23b396cf-720e-4dfe-a85c-40c893c3bb4c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5a7974a6-3ab8-44f2-b867-304024927e98",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a4919b37-f09b-4d1d-9d0c-3b5fa0ddfa6a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.xml
new file mode 100644
index 00000000..85aea413
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationIngredient/WS_V4_VerordnungArzt_fa6f0220/output.xml
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/input.xml
new file mode 100644
index 00000000..da6a5834
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/input.xml
@@ -0,0 +1,402 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.json
new file mode 100644
index 00000000..ed8c2a42
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.json
@@ -0,0 +1,233 @@
+{
+ "resourceType": "Parameters",
+ "id": "02fcf3a5-1f45-4d89-a3e2-1c5ec77197ae",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.797.78"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6ed41e59-29ed-49e6-887d-e9709fae3da4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-02-08"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:13061707"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/974e2edb-8a73-4a61-93c2-cb71b7a15a64"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "974e2edb-8a73-4a61-93c2-cb71b7a15a64",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "45323114"
+ } ],
+ "text": "Hydvofloxnin"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0f7e021f-6cae-47ad-9cff-3fdc7c002c04",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "711020854"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0340) 561450343"
+ }, {
+ "system": "email",
+ "value": "saphira.schaffarzik@jungbluth.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Am Arenzberg 46b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "46b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Am Arenzberg"
+ } ]
+ } ],
+ "city": "Jessicafeld",
+ "postalCode": "12141",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "165995cf-c893-4e56-8fba-bc7d8dbdb011",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "616562658"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.xml
new file mode 100644
index 00000000..9a00585c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_02fcf3a5/output.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/input.xml
new file mode 100644
index 00000000..31bb97b0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.json
new file mode 100644
index 00000000..bd72631d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "0854ff7a-096e-4b05-8891-d65377ef8c2f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.758.98"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "3dc68924-cbce-4034-ac05-2d01e0f14383",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c74ef147-3427-424c-9161-fd6456963df4"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c74ef147-3427-424c-9161-fd6456963df4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "604c6a21-ac2e-4b91-8dfa-f5818ccc4df7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "015446034"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-929-6020489"
+ }, {
+ "system": "email",
+ "value": "johannes.ahrens@bogdashin.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Köttershof 163" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "163"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Köttershof"
+ } ]
+ } ],
+ "city": "Lyafeld",
+ "postalCode": "17418",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "538ccf27-e854-4781-ba90-c76c5f074111",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "088952773"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.xml
new file mode 100644
index 00000000..c9549b8c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0854ff7a/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/input.xml
new file mode 100644
index 00000000..8909d21d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.json
new file mode 100644
index 00000000..af812361
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "09045269-e500-4a27-9c75-dcc32404701f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.743.46"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "0a6f4d0d-1cd7-4dd3-8f75-67772f961816",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/3288db97-6639-4f97-bdee-3ea070dd537f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3288db97-6639-4f97-bdee-3ea070dd537f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ab452531-93f0-4483-902d-0f7ac019a9ff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "525817115"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0901) 412592712"
+ }, {
+ "system": "email",
+ "value": "dilara.kahl@klinger.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Schießbergstr. 3" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "3"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Schießbergstr."
+ } ]
+ } ],
+ "city": "Emiliahagen",
+ "postalCode": "70859",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f36a31f8-e1e6-4ab7-8e85-15f89bbabe50",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "367206462"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.xml
new file mode 100644
index 00000000..d4993f5c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_09045269/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/input.xml
new file mode 100644
index 00000000..bfad4b45
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/input.xml
@@ -0,0 +1,402 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.json
new file mode 100644
index 00000000..61260d5d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.json
@@ -0,0 +1,233 @@
+{
+ "resourceType": "Parameters",
+ "id": "0d6a22d4-92ea-4317-9f4e-c125c74855d1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.000.011.203.694.65"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "960dba29-ae9d-4c74-a974-7136ded8f1e6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-11-04"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:e554a5a0-47a2-42dd-8b34-a6dd1e84b8b7"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/650cae11-d5ea-4ba5-a796-c1ab03a6eb47"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "650cae11-d5ea-4ba5-a796-c1ab03a6eb47",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09700354"
+ } ],
+ "text": "Adavomilcain"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9a89df70-d79d-45f8-b7d5-787ac11c022c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "209739478"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(02711) 4600399"
+ }, {
+ "system": "email",
+ "value": "rené.uhrig@engel.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Heinrich-von-Kleist-Str. 75b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "75b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Heinrich-von-Kleist-Str."
+ } ]
+ } ],
+ "city": "Ehmbrunn",
+ "postalCode": "75097",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c12fd7dc-1ab4-4985-a69f-1246ec3a0d1d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "238658744"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.xml
new file mode 100644
index 00000000..9e5818fd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_0d6a22d4/output.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/input.xml
new file mode 100644
index 00000000..d0859f6f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.json
new file mode 100644
index 00000000..296ff92b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "11cffc5c-5f6b-43e8-8424-c537754b1528",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.000.011.203.690.77"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "ea424f03-9433-4c99-8656-4791b87b8edf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/42f50541-e1a0-49c6-bb04-2f532c4b5ba3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "42f50541-e1a0-49c6-bb04-2f532c4b5ba3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "47126688"
+ } ],
+ "text": "Zytostatika"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7b11ff5f-5b2e-40e1-832e-bee8812589c8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "029576346"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(01397) 5739283"
+ }, {
+ "system": "email",
+ "value": "lydia.gaba@proske.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Piet-Mondrian-Str. 852" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "852"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Piet-Mondrian-Str."
+ } ]
+ } ],
+ "city": "Schön Charlotta",
+ "postalCode": "92584",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "26aabd0d-51bf-42cd-b2ac-5863c7ca31f8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "570752613"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.xml
new file mode 100644
index 00000000..009fa45d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_11cffc5c/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/input.xml
new file mode 100644
index 00000000..72375c53
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.json
new file mode 100644
index 00000000..2e967485
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "13ef7eed-97af-477f-8cb7-33b438ceb81b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.006.474.837.87"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-13"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6fb5c77a-295b-42a3-a883-978345bafc9a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/73a55bc6-86b7-4f52-8c23-fb5bd62a8386"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-13",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "73a55bc6-86b7-4f52-8c23-fb5bd62a8386",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d9211856-d0f2-4952-8d40-6d841349343a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "017186060"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-381-2710885"
+ }, {
+ "system": "email",
+ "value": "sam.kisabaka@gamper.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Heidehöhe 26" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "26"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Heidehöhe"
+ } ]
+ } ],
+ "city": "Bigdelifeld",
+ "postalCode": "07258",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6b65884b-092e-49a9-9b01-d363dd6c9d11",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "421218808"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.xml
new file mode 100644
index 00000000..78fe508e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_13ef7eed/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/input.xml
new file mode 100644
index 00000000..896a4bc6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.json
new file mode 100644
index 00000000..049c43fc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "141bdd95-a5d0-407a-bf9a-23f122b489c9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.763.83"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9ca15ac5-9993-4e7f-bdf0-5efd57fa1bd3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/064b5b70-f2e6-494b-b0d8-b37684dd1f1d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "064b5b70-f2e6-494b-b0d8-b37684dd1f1d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2df46d3d-1b73-4b11-aa0e-01757e22152f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "628598894"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-5469-02854941"
+ }, {
+ "system": "email",
+ "value": "mareike.schaffarzik@neupert.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Hamberger Str. 0" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "0"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Hamberger Str."
+ } ]
+ } ],
+ "city": "Klein Veronika",
+ "postalCode": "87026",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "13d98bb8-fd59-43c7-9c71-bd3c04b8ef26",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "271120832"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.xml
new file mode 100644
index 00000000..15bf552b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_141bdd95/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/input.xml
new file mode 100644
index 00000000..b4455cc7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.json
new file mode 100644
index 00000000..1138767e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "16ca6d24-f682-482d-9040-d69746625423",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.740.55"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "db66e7f5-48c6-4431-b7ac-ce2a00fc28d3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/6157088c-4610-4a56-9b50-1f307af80a20"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "6157088c-4610-4a56-9b50-1f307af80a20",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5a5bb221-340a-410a-a57f-5031ac99da36",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "739445767"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0222) 778778860"
+ }, {
+ "system": "email",
+ "value": "tina.filipowski@xn--tpfer-jua.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Moosweg 68c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "68c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Moosweg"
+ } ]
+ } ],
+ "city": "Süd Marek",
+ "postalCode": "48927",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b13ddd90-f03b-4205-a558-8fe0ec60c74d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "755566422"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.xml
new file mode 100644
index 00000000..cba912bf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_16ca6d24/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/input.xml
new file mode 100644
index 00000000..28d2e711
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.json
new file mode 100644
index 00000000..cda16f50
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "19a7bde6-0763-4097-84ce-a879257dbc48",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.766.74"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "445b10fe-6d04-4ba8-8a12-2efa592571bb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/55c6a716-fb67-4e66-afff-3360cce8c0ad"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "55c6a716-fb67-4e66-afff-3360cce8c0ad",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2aebb1fb-7191-4e99-88c8-2b815fa6df42",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "173654881"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(07189) 9689975"
+ }, {
+ "system": "email",
+ "value": "pius.bethke@morhelfer.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Mozartstr. 252" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "252"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Mozartstr."
+ } ]
+ } ],
+ "city": "Forststadt",
+ "postalCode": "48325",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b66322c4-cd68-49f6-a314-9e00049936eb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "246042887"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.xml
new file mode 100644
index 00000000..0bbccdf4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_19a7bde6/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/input.xml
new file mode 100644
index 00000000..010e26a4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.json
new file mode 100644
index 00000000..5c065d14
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "1b51052c-0f29-47a1-9c14-6b1f8f640901",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.761.89"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "bc9d4b76-08e7-4242-86df-976b39afe80c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/49f477b0-707b-4257-8aa5-c404e2dfddbb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "49f477b0-707b-4257-8aa5-c404e2dfddbb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e0e5ee9f-a0c1-493d-bcc9-7a88b7fe079b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "710988584"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-882-3423799"
+ }, {
+ "system": "email",
+ "value": "samia.hingst@lohmann.ch"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "In der Dasladen 80" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "80"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "In der Dasladen"
+ } ]
+ } ],
+ "city": "Nord Sarahscheid",
+ "postalCode": "97709",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c492b9e3-9745-4967-a4bd-97afddbd4b52",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "662556538"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.xml
new file mode 100644
index 00000000..f19dc85a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1b51052c/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/input.xml
new file mode 100644
index 00000000..d3438cf5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.json
new file mode 100644
index 00000000..e7be41b6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "1c646da7-8b84-42d2-9e37-2fb2cbac57dd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.765.77"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "114aa22f-fe85-4206-85f5-9cdb09d618d9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/dfcfda34-ab6c-42ae-8061-5302903210a6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "dfcfda34-ab6c-42ae-8061-5302903210a6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d4572afc-f68e-41eb-bb85-1fbe7aa06b85",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "600372833"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0682) 787150898"
+ }, {
+ "system": "email",
+ "value": "alessio.ehrig@behnke.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Am Gesundheitspark 31c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "31c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Am Gesundheitspark"
+ } ]
+ } ],
+ "city": "Groß Annagrün",
+ "postalCode": "34652",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "8327cf51-9921-4298-af32-165d7a51d06f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "386029325"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.xml
new file mode 100644
index 00000000..f238d48b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1c646da7/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/input.xml
new file mode 100644
index 00000000..472a5571
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.json
new file mode 100644
index 00000000..2930b26e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "1ed8eaa8-f5e8-4397-a9c6-32742f3e3669",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.777.41"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "0452c1c8-4a08-4210-97ec-42f314f950b9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/41344481-db84-4db6-9ee5-cee8846a0ec1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 50,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "41344481-db84-4db6-9ee5-cee8846a0ec1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "11648419"
+ } ],
+ "text": "IBUFLAM akut"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "bab078f8-e743-4b75-aa62-471b008f969a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "505323366"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0283) 686271780"
+ }, {
+ "system": "email",
+ "value": "alexa.newton@salzmann.ch"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Potsdamer Str. 01c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "01c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Potsdamer Str."
+ } ]
+ } ],
+ "city": "Alt Elianastadt",
+ "postalCode": "41650",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "11c606e1-3640-4394-a85a-bfe8c18efe4c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "826335247"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.xml
new file mode 100644
index 00000000..f50e2b33
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_1ed8eaa8/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/input.xml
new file mode 100644
index 00000000..547376e4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.json
new file mode 100644
index 00000000..cc87caef
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "265b0953-2cda-4106-92a6-46582f6ca701",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.996.31"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "14c3d243-30ce-4918-b4a6-c0f2f2100063",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b36cf820-3c18-4abe-a049-4f52c19d3f26"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b36cf820-3c18-4abe-a049-4f52c19d3f26",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "48094708"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f37fbc52-ebf8-423e-884b-c86600cfebec",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "889081004"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-8265-38308644"
+ }, {
+ "system": "email",
+ "value": "karlo.benner@wilts.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Kalkstr. 7" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "7"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Kalkstr."
+ } ]
+ } ],
+ "city": "Rohländerstadt",
+ "postalCode": "98861",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "eeca44d5-48ea-4b63-8f0c-9ba69b874e9d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "892116208"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.xml
new file mode 100644
index 00000000..ccb33514
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_265b0953/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/input.xml
new file mode 100644
index 00000000..ba541286
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.json
new file mode 100644
index 00000000..fc564a78
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "2a985325-2ef2-4119-8902-f6c859b5fa57",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.807.48"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "49f1c762-60f8-4cad-9368-b7c0f4d15d3d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/e14b6a00-99ac-405f-a452-9e6ddee9fb90"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e14b6a00-99ac-405f-a452-9e6ddee9fb90",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a5a7159e-31e6-46c8-9a05-a73b503f5819",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "623514458"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-832-4027347"
+ }, {
+ "system": "email",
+ "value": "hamza.hübl@adam.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Insterstr. 93c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "93c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Insterstr."
+ } ]
+ } ],
+ "city": "Koubaastadt",
+ "postalCode": "64092",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "41754ac0-e399-472b-8a6a-516933e52b8a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "806233722"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.xml
new file mode 100644
index 00000000..0e55c71c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2a985325/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/input.xml
new file mode 100644
index 00000000..62fba05f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.json
new file mode 100644
index 00000000..8a365c2e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "2aa2072e-337b-4af7-8ecb-9a5708b03f14",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.747.34"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "029e0df2-6103-4ef7-812b-23ad2e28956a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/5e8c38ba-8101-49c1-8458-06f8e8fc34cf"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "5e8c38ba-8101-49c1-8458-06f8e8fc34cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3e4f46c-dacc-436e-9b0d-d1e6b8c9ccb3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "011361824"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-9570-93669717"
+ }, {
+ "system": "email",
+ "value": "amir.einert@abraham.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Weizkamp 5" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "5"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Weizkamp"
+ } ]
+ } ],
+ "city": "Henkelheim",
+ "postalCode": "71075",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d8c1b101-073c-49f4-95e8-065df90f3138",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "884700727"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.xml
new file mode 100644
index 00000000..b824051c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2aa2072e/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/input.xml
new file mode 100644
index 00000000..cf0b4421
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.json
new file mode 100644
index 00000000..152d0550
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "2cbc202c-0dd5-4fa2-95a6-255a66df816f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.993.40"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "74bb8c64-2362-4a0d-92bf-7b802372d741",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/3a75730a-0fbe-47cf-a033-ddbaa73a3c8d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3a75730a-0fbe-47cf-a033-ddbaa73a3c8d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "86732221"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e194e9da-73b7-4e77-81d9-2c4a726203e3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "482117907"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-535-4011988"
+ }, {
+ "system": "email",
+ "value": "tristan.linden@bruder.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Berliner Str. 9" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "9"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Berliner Str."
+ } ]
+ } ],
+ "city": "Stollestadt",
+ "postalCode": "66216",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4aeaf204-ab2c-4eae-a294-e5ee46e9dc30",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "218194094"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.xml
new file mode 100644
index 00000000..f74a2821
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2cbc202c/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/input.xml
new file mode 100644
index 00000000..c965d3a8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.json
new file mode 100644
index 00000000..208510ed
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "2d9e5916-0fc8-49f5-866b-79ea6348ec52",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.772.56"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "22268ace-3d00-4d83-82ce-324d09e621a3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4042c8a5-2719-4c14-a9d5-d295da64d02a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4042c8a5-2719-4c14-a9d5-d295da64d02a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "37914278"
+ } ],
+ "text": "Ilopterproston"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6d6661da-1633-4486-ae63-f3f13516f62e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "032584845"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(05736) 6284866"
+ }, {
+ "system": "email",
+ "value": "lene.soller@schuhaj.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Pestalozzistr. 49c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "49c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Pestalozzistr."
+ } ]
+ } ],
+ "city": "Joannastadt",
+ "postalCode": "59066",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "1235c6da-88c1-43b3-9816-7d88b93f7564",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "180405337"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.xml
new file mode 100644
index 00000000..b9ad80d9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2d9e5916/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/input.xml
new file mode 100644
index 00000000..ebac57ff
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/input.xml
@@ -0,0 +1,403 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.json
new file mode 100644
index 00000000..7da0537a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.json
@@ -0,0 +1,234 @@
+{
+ "resourceType": "Parameters",
+ "id": "2e209d67-d097-4b87-8fa4-222922d917ec",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.524.76"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "d0ed1878-58c4-4fa7-b4d2-ea7228862155",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-11-04",
+ "end": "2025-02-02"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:7bb30620-cb76-4f3a-a459-5ad4c4b63b14"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b269138f-27ba-4606-acce-e55fdca0869b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b269138f-27ba-4606-acce-e55fdca0869b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "61892969"
+ } ],
+ "text": "Hepabraproston"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3672a543-ac0c-45a2-95a9-c0acc07d5e64",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "558753276"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-6491-96705367"
+ }, {
+ "system": "email",
+ "value": "flora.lauckner@orthmann.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Böcklerstr. 43b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "43b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Böcklerstr."
+ } ]
+ } ],
+ "city": "Groß Finnjadorf",
+ "postalCode": "78873",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "97b978a1-eb8e-4f81-bfd7-3485711aba15",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "642521068"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.xml
new file mode 100644
index 00000000..7aaf35ce
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_2e209d67/output.xml
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/input.xml
new file mode 100644
index 00000000..ad9a3250
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.json
new file mode 100644
index 00000000..862ef4e6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "3bc18bf8-6167-4d38-bcf6-e961053e706a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.752.19"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "141e436b-0c7e-4212-a353-4cd7d06c3a1d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/533167f2-3f23-497c-8d62-0b45a5f3f9f1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "533167f2-3f23-497c-8d62-0b45a5f3f9f1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b7a6afe8-134b-47fd-9b04-575e222d8c99",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "712972127"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(07022) 9438121"
+ }, {
+ "system": "email",
+ "value": "jeremy.benninger@riekmann.ch"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Cranachstr. 392" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "392"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Cranachstr."
+ } ]
+ } ],
+ "city": "Bussestadt",
+ "postalCode": "00355",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "151e84b8-9ac1-4ee4-9a11-96a4173ca4f5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "379988496"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.xml
new file mode 100644
index 00000000..ab1e27de
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3bc18bf8/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/input.xml
new file mode 100644
index 00000000..da56357a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.json
new file mode 100644
index 00000000..670807d8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "3f310f6f-7ddb-4ea5-91db-cc4326d94958",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.998.25"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9b3089c0-975a-4fd6-b31c-650465a23ddb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b5d080d6-d611-4bdc-af54-5d80bd638384"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b5d080d6-d611-4bdc-af54-5d80bd638384",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "73951654"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "dba0764e-870f-45e5-965a-e936c802f09b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "714643725"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-247-4772661"
+ }, {
+ "system": "email",
+ "value": "lina.mallmann@zaituc.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Rückertstr. 78c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "78c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Rückertstr."
+ } ]
+ } ],
+ "city": "Wollmannheim",
+ "postalCode": "08712",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c9839da3-3dab-4ccc-a4ca-d8a0142a34d4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "434355951"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.xml
new file mode 100644
index 00000000..984250ee
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_3f310f6f/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/input.xml
new file mode 100644
index 00000000..858d0117
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.json
new file mode 100644
index 00000000..43094b4d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "4ee123e6-3e44-412e-bc22-4d1151a387d5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.995.34"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "da4d3da9-7c1e-45b2-9cbb-aaddd22ea8ce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a5db261e-f5ed-479d-a5de-0453f1a4a10f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a5db261e-f5ed-479d-a5de-0453f1a4a10f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "46260462"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e550f607-daaa-417c-b341-f11ce4838246",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "382601542"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-902-0356405"
+ }, {
+ "system": "email",
+ "value": "jan.leschnik@lichtenfeld.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Liebigstr. 9" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "9"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Liebigstr."
+ } ]
+ } ],
+ "city": "Ost Marius",
+ "postalCode": "85692",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "faebf636-3fb9-4fe5-a700-7de20dcb9bf0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "804424206"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.xml
new file mode 100644
index 00000000..1074390d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_4ee123e6/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/input.xml
new file mode 100644
index 00000000..b3118433
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.json
new file mode 100644
index 00000000..3074bd12
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "550e0973-f3c1-4f33-a38e-5abd53eb16ff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.768.68"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1203556d-5a69-430c-94d4-a07268ae4a83",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/3e4559f6-bd46-46ea-a5b6-1c9a0510fbe9"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3e4559f6-bd46-46ea-a5b6-1c9a0510fbe9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "35a7d6f9-d096-4010-b01e-8136d99fe2ec",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "206219256"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0011) 867656050"
+ }, {
+ "system": "email",
+ "value": "jolie.deckert@tepper.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Leichlinger Str. 86" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "86"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Leichlinger Str."
+ } ]
+ } ],
+ "city": "Schön Magdalena",
+ "postalCode": "75443",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f8ac4ddc-35b5-4479-9c7a-ed3ccb395e6a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "279711745"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.xml
new file mode 100644
index 00000000..948ddb4a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_550e0973/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/input.xml
new file mode 100644
index 00000000..c9d931b6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.json
new file mode 100644
index 00000000..31312bf8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "55258d43-25f6-4ed7-b18f-b5c53414a9f6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.006.474.839.81"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-13"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a4aef1fb-275d-4e65-8f6e-b3b670cc3e7b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/3b858aee-87f0-4969-8c03-bddcb752a3ea"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-13",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3b858aee-87f0-4969-8c03-bddcb752a3ea",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "18c4f936-739a-4822-98f2-d8d9972852a4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "729642118"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0622) 265074965"
+ }, {
+ "system": "email",
+ "value": "miray.lokar@patzwahl.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Marie-Schlei-Str. 67" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "67"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Marie-Schlei-Str."
+ } ]
+ } ],
+ "city": "Nageldorf",
+ "postalCode": "44392",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "da9e00a7-7ee6-43a9-8667-ae47abf3d8b2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "547425702"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.xml
new file mode 100644
index 00000000..4c722809
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_55258d43/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/input.xml
new file mode 100644
index 00000000..3496765e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.json
new file mode 100644
index 00000000..b95244f8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "5665652f-ebc9-4a67-8bf9-35a063c219c2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.006.474.838.84"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-13"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "05f36a2a-62cc-4d05-8d83-412c0724f6b2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/db8d886a-7ec5-41d4-b325-be2f0488d6dc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-13",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "db8d886a-7ec5-41d4-b325-be2f0488d6dc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8d5a7d94-ad95-4b31-a70d-37bd726dc57b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "475308196"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0958) 130707809"
+ }, {
+ "system": "email",
+ "value": "wilhelm.welz@kofferschlager.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Schopenhauerstr. 35c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "35c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Schopenhauerstr."
+ } ]
+ } ],
+ "city": "Hamzafeld",
+ "postalCode": "15855",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3e3c42a7-b128-48b8-b04c-a34e70a4416a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "183015301"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.xml
new file mode 100644
index 00000000..e4a36c7c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5665652f/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/input.xml
new file mode 100644
index 00000000..06cceaa0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.json
new file mode 100644
index 00000000..53d121c7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "5da0791f-d7e2-4d44-916d-f1f1427b4b45",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.753.16"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "e102612a-e3d7-4e28-a843-b79e4e9fda01",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/58e5713f-cc81-4af6-a9eb-e667fedd8b87"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "58e5713f-cc81-4af6-a9eb-e667fedd8b87",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "63e14df2-b909-4579-868f-8c06ccd3639a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "200088168"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0758) 645067737"
+ }, {
+ "system": "email",
+ "value": "immanuel.seigel@hoffman.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Karl-Carstens-Ring 57b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "57b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Karl-Carstens-Ring"
+ } ]
+ } ],
+ "city": "Gatzkabrunn",
+ "postalCode": "71914",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4eccd935-0135-4007-ac08-f3b348986846",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "309203716"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.xml
new file mode 100644
index 00000000..9bdb6a03
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5da0791f/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/input.xml
new file mode 100644
index 00000000..67130e40
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.json
new file mode 100644
index 00000000..2029b6c7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "5ed8a5cd-8141-4266-b5bc-c001596381b5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.748.31"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6306e375-a0ae-42a5-a431-2543055a10f5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/f2590930-90b3-4418-a9bc-f4593a4f77ce"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f2590930-90b3-4418-a9bc-f4593a4f77ce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b2cad0ec-1c63-4f31-b9a1-7b3170052b07",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "384664925"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-3412-28869735"
+ }, {
+ "system": "email",
+ "value": "sinan.pietsch@rau.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Weiherstr. 07c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "07c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Weiherstr."
+ } ]
+ } ],
+ "city": "Klein Calvinburg",
+ "postalCode": "92983",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "aeabb5e6-ec38-4347-a7be-6cd62c755d3e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "757953135"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.xml
new file mode 100644
index 00000000..eb0c167d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_5ed8a5cd/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/input.xml
new file mode 100644
index 00000000..9971193c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.json
new file mode 100644
index 00000000..6a256881
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "670603fd-0652-4d5e-96fb-d357e4723e48",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.999.22"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "91ea2815-3dd2-484e-9cb4-a51c52875e1b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/01306fbd-1e22-4ed6-8b50-4b8557ad8d4a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "01306fbd-1e22-4ed6-8b50-4b8557ad8d4a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "27318836"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6b8cc4cc-b884-4165-920b-9c37bbcfe98a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "609731540"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(04575) 9941676"
+ }, {
+ "system": "email",
+ "value": "mirac.gruszecki@knut.ch"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Auf der Weide 54" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "54"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Auf der Weide"
+ } ]
+ } ],
+ "city": "West Jella",
+ "postalCode": "50049",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "11f75bc6-eed2-4cc5-ba89-1aff6d9e2d77",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "960975636"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.xml
new file mode 100644
index 00000000..6f13ed04
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_670603fd/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/input.xml
new file mode 100644
index 00000000..42595c77
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.json
new file mode 100644
index 00000000..6ccbdfdc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "6f96c033-6f59-4828-bec7-ea7383d4633f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.033.000.19"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "ab2bcf6e-1c48-4328-8c5e-89aa868f80ca",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/72837df0-5489-4133-9e89-52bedb38b753"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "72837df0-5489-4133-9e89-52bedb38b753",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "27677334"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f8155559-76c9-49bf-b2b3-7f1d0f91342e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "476736714"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0048) 622241522"
+ }, {
+ "system": "email",
+ "value": "ismael.riethmüller@brauer.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Kanalstr. 01c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "01c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Kanalstr."
+ } ]
+ } ],
+ "city": "Griemburg",
+ "postalCode": "85414",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2133bce0-ce5b-44f6-9e50-81da60d8d31a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "874457048"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.xml
new file mode 100644
index 00000000..a9d27e91
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_6f96c033/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/input.xml
new file mode 100644
index 00000000..1a1a24f7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.json
new file mode 100644
index 00000000..b04c9952
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "76455c58-041c-44f4-b11d-524834f14dd0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.994.37"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "bcb27605-dfd1-43f2-9871-7ff6ece13f34",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/004221c2-be2a-47a8-929b-ffd30e660d0f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "004221c2-be2a-47a8-929b-ffd30e660d0f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "93081505"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "01a062c4-376d-49ef-b42b-b4fdc2b907ca",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "024545375"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(09883) 7244642"
+ }, {
+ "system": "email",
+ "value": "arne.griese@vogt.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "An der Evangelischen Kirche 399" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "399"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "An der Evangelischen Kirche"
+ } ]
+ } ],
+ "city": "West Evastadt",
+ "postalCode": "45627",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c5deb48c-24a2-499e-b874-1071a2f874f1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "097388053"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.xml
new file mode 100644
index 00000000..dd5b3686
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_76455c58/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/input.xml
new file mode 100644
index 00000000..8859e5c9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.json
new file mode 100644
index 00000000..a9b2ceb7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "78aebb81-146e-4528-a605-21ea3cfaea85",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.006.474.849.51"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-13"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "24566dae-d41d-433f-a27c-cf1871d68bc4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/fc461f3d-1127-4bdd-9ddc-ced553950677"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-13",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "fc461f3d-1127-4bdd-9ddc-ced553950677",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "536f8ff0-a082-4225-8253-741fbd5c53d8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "557235300"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0799) 538609283"
+ }, {
+ "system": "email",
+ "value": "annabelle.hertel@helmke.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Auf'm Kamp 223" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "223"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Auf'm Kamp"
+ } ]
+ } ],
+ "city": "Neu Helenheim",
+ "postalCode": "41048",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "14d14332-86b4-4afe-bfab-848d1ad57042",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "207670259"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.xml
new file mode 100644
index 00000000..d6a07817
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_78aebb81/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/input.xml
new file mode 100644
index 00000000..086090a9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.json
new file mode 100644
index 00000000..8986f00a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "7b9e2504-bc8f-45d8-8990-7aed7b7f1f4e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.764.80"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9c08f435-54b7-470a-b8a3-e34f132b38c9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c4ac2cc7-7c60-4ee2-93c4-5b2db6b46d13"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c4ac2cc7-7c60-4ee2-93c4-5b2db6b46d13",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "acc71e49-f9d3-4b11-9bfb-ede8ce507261",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "035362503"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-514-9983229"
+ }, {
+ "system": "email",
+ "value": "erik.gauder@borsch.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Ortelsburger Str. 75a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "75a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Ortelsburger Str."
+ } ]
+ } ],
+ "city": "Illinggrün",
+ "postalCode": "36070",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c68cacf6-e2b0-469e-8cb3-9c790a9bcaad",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "333698756"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.xml
new file mode 100644
index 00000000..7e2c5afa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_7b9e2504/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/input.xml
new file mode 100644
index 00000000..09afca96
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.json
new file mode 100644
index 00000000..dc36c194
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "83c10e2d-b415-4541-b731-dd10c15db75d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.770.62"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "eb51b7ce-a0e0-4621-8d0f-b65e316af176",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/f83732fb-e351-406d-a6db-45cc98a9dfbe"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f83732fb-e351-406d-a6db-45cc98a9dfbe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "61252891"
+ } ],
+ "text": "Gemvomilsäure"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "335e0a8d-1a89-43e2-a08c-73c31de0531a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "614137063"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Arzt",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-073-0437663"
+ }, {
+ "system": "email",
+ "value": "teresa.roggatz@evers.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Burgweg 88" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "88"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Burgweg"
+ } ]
+ } ],
+ "city": "Jonland",
+ "postalCode": "15501",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e6cde8c7-addc-446b-820c-8d171add5c6a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "176464353"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Kein Arzt",
+ "family": "Arzt",
+ "given": [ "Kein" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.xml
new file mode 100644
index 00000000..da750a45
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_83c10e2d/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/input.xml
new file mode 100644
index 00000000..436acecf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/input.xml
@@ -0,0 +1,403 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.json
new file mode 100644
index 00000000..18d60bcd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.json
@@ -0,0 +1,234 @@
+{
+ "resourceType": "Parameters",
+ "id": "840ab9b1-7e7c-4655-abe6-67a94d8943e0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.788.08"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "c3f6e478-908d-47c2-8404-107110b97a85",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-05-08",
+ "end": "2024-08-06"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:a415d54e-a4c5-4701-9388-6f47bd1f2ca8"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/14926b2d-93fc-4cc2-ab95-d7e9bd9362a7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "14926b2d-93fc-4cc2-ab95-d7e9bd9362a7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "53825226"
+ } ],
+ "text": "Acialian"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8ba7a6a6-6760-4ad0-ab70-1a864315d2f1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "553151319"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0741) 498956760"
+ }, {
+ "system": "email",
+ "value": "edwin.mai@hommel.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Bornheimer Str. 39c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "39c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Bornheimer Str."
+ } ]
+ } ],
+ "city": "West Davinbrunn",
+ "postalCode": "97176",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6b457149-695e-4516-a1e6-8fd898fb55a6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "556570801"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.xml
new file mode 100644
index 00000000..92116474
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_840ab9b1/output.xml
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/input.xml
new file mode 100644
index 00000000..928aa91e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/input.xml
@@ -0,0 +1,403 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.json
new file mode 100644
index 00000000..413d5041
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.json
@@ -0,0 +1,234 @@
+{
+ "resourceType": "Parameters",
+ "id": "862aa430-7e77-46bf-a812-2b8462b1af9a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.783.23"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "99eb6227-10fa-44ac-b4b1-f522a79dfcb9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-02-08",
+ "end": "2024-05-08"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:bd9c009f-514a-4ed2-a1ae-d895273794e2"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/2ce6f086-e5f5-4b4e-9be6-46f2733b4a49"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "2ce6f086-e5f5-4b4e-9be6-46f2733b4a49",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "64996244"
+ } ],
+ "text": "Amoamiproston"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d01742a7-10ea-4423-b032-feba361338e3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "614566446"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-1696-50296460"
+ }, {
+ "system": "email",
+ "value": "raphael.bieler@horna.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Jägerstr. 6" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "6"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Jägerstr."
+ } ]
+ } ],
+ "city": "Neu Can",
+ "postalCode": "78332",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3351dc60-be88-4de9-8e46-8e1f69192a6e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "811131577"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.xml
new file mode 100644
index 00000000..f1cda740
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_862aa430/output.xml
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/input.xml
new file mode 100644
index 00000000..f4b5d26f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.json
new file mode 100644
index 00000000..b24e917d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "89383746-cd7d-488f-a826-ff3e53b2f3fa",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.750.25"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "bff6522b-161d-4266-ab34-7c4922e0911a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/16172f3b-d0cd-4301-8787-a711a4f6b5d2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "16172f3b-d0cd-4301-8787-a711a4f6b5d2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "82134801-829a-4ce4-a954-cfbdb14bd871",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "512348559"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-171-5912020"
+ }, {
+ "system": "email",
+ "value": "johannes.baganz@ladewig.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Karl-Carstens-Ring 82" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "82"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Karl-Carstens-Ring"
+ } ]
+ } ],
+ "city": "Abramovicstadt",
+ "postalCode": "17526",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2d990c51-af9c-48bd-8a90-ba6326df4c7b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "051629877"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.xml
new file mode 100644
index 00000000..8ea92b79
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_89383746/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/input.xml
new file mode 100644
index 00000000..bbffbcea
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.json
new file mode 100644
index 00000000..db2bf454
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "8e4b0bfe-99a2-410c-8602-abc46d657060",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.759.95"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "4f17abd7-4b2c-4fc0-a17f-c098ef18ba7b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/678f3d4a-bbbb-4374-813e-f532665f0f70"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "678f3d4a-bbbb-4374-813e-f532665f0f70",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e0570b98-b683-4160-96a0-f39dde94bca1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "729708749"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(05891) 9020530"
+ }, {
+ "system": "email",
+ "value": "tyler.schultz@striezel.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Maria-Terwiel-Str. 45a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "45a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Maria-Terwiel-Str."
+ } ]
+ } ],
+ "city": "Nabeinland",
+ "postalCode": "32786",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ef371a4d-37c2-4c5f-9700-6acce9ed89d3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "763324597"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.xml
new file mode 100644
index 00000000..07d1d289
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_8e4b0bfe/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/input.xml
new file mode 100644
index 00000000..9222ab46
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.json
new file mode 100644
index 00000000..c6dd4568
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "9102a310-f212-45fc-9b61-8dcf22155c7b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.751.22"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6cf75093-d0a5-4469-b36b-22daae54e38b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/7cc57022-ff6d-44ca-a6a0-0e91a437ff87"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7cc57022-ff6d-44ca-a6a0-0e91a437ff87",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b00a22be-4d49-46eb-928f-1642fbfa1e61",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "506889695"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-3700-72846964"
+ }, {
+ "system": "email",
+ "value": "sophie.schönfeld@nagel.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "In der Dasladen 30a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "30a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "In der Dasladen"
+ } ]
+ } ],
+ "city": "Thustheim",
+ "postalCode": "47051",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4a4a515f-5051-4c03-9da8-9faf42e40290",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "180212463"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.xml
new file mode 100644
index 00000000..76ca7ee5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_9102a310/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/input.xml
new file mode 100644
index 00000000..93f057e4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.json
new file mode 100644
index 00000000..b11ba35a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "94ddf2c1-2b99-41e0-9ceb-8468f995c336",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.760.92"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "346ee2ec-0c6c-46cf-a926-1786a547e421",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/05544bb4-3e9b-43c3-b578-fa1831106a11"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "05544bb4-3e9b-43c3-b578-fa1831106a11",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6a4ffc95-532c-4e14-92ac-db6769cce435",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "470426554"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0379) 822340692"
+ }, {
+ "system": "email",
+ "value": "fabian.bienasch@just.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Weizkamp 877" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "877"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Weizkamp"
+ } ]
+ } ],
+ "city": "Groß Ruben",
+ "postalCode": "68177",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf184f46-d4d1-4111-80b1-07a98f3b2e01",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "439856521"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.xml
new file mode 100644
index 00000000..f7b2e892
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_94ddf2c1/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/input.xml
new file mode 100644
index 00000000..b7f324cf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.json
new file mode 100644
index 00000000..540d1799
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "968173c9-e3d8-439f-92c2-1e716bafc2a7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.771.59"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "7f656ffa-ea89-4c20-a705-f989bbf644ad",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/6c92a863-de6d-468d-a046-81a527eb6e17"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "6c92a863-de6d-468d-a046-81a527eb6e17",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "76f199c0-3e9c-44aa-a3a3-357a5ab7d7e7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "886581532"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0713) 038011891"
+ }, {
+ "system": "email",
+ "value": "kalle.finke@grothkopp.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Voigtslach 329" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "329"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Voigtslach"
+ } ]
+ } ],
+ "city": "Dennisheim",
+ "postalCode": "94140",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "46c89078-d117-444e-a6dd-5c5502fca366",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "059579535"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.xml
new file mode 100644
index 00000000..a65e6dd6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_968173c9/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/input.xml
new file mode 100644
index 00000000..2b3c1a9f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.json
new file mode 100644
index 00000000..a0b3599d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "a0b1a2cd-960c-4cb7-8b2c-fe417e302b0a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.525.73"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "2968ebf2-8f6b-44d0-b710-8fa56d995d95",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/ee02ccf6-f11e-4348-a08c-40d2953aebb2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ee02ccf6-f11e-4348-a08c-40d2953aebb2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "50188a79-f59e-47b8-a674-7132fcfaa3a6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "932596891"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0419) 301209056"
+ }, {
+ "system": "email",
+ "value": "soraya.rau@kron.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Erich-Heckel-Str. 25c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "25c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Erich-Heckel-Str."
+ } ]
+ } ],
+ "city": "Bergerscheid",
+ "postalCode": "64326",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "864d61a2-b7ad-447b-bd28-db9d27716611",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "411539329"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.xml
new file mode 100644
index 00000000..43fb93ba
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a0b1a2cd/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/input.xml
new file mode 100644
index 00000000..68987e4e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.json
new file mode 100644
index 00000000..01ada568
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "a4f05dcd-c8d2-4af4-a09f-48b304c14830",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.555.80"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "3d9b9db0-faf1-43c1-9d5d-0f8c303220a0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/ba6eb23d-efed-4d4c-aa1d-c998ae6c8d31"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ba6eb23d-efed-4d4c-aa1d-c998ae6c8d31",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "872a2c77-a0a6-4cd7-908a-3c79ced91e5d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "496255531"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-197-7069529"
+ }, {
+ "system": "email",
+ "value": "tara.pollmächer@xn--dck-hoa.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Augustastr. 27" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "27"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Augustastr."
+ } ]
+ } ],
+ "city": "Logandorf",
+ "postalCode": "84236",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f91d6206-9d87-4330-871a-77808b55a6a6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "368352769"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.xml
new file mode 100644
index 00000000..d4688f5a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_a4f05dcd/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/input.xml
new file mode 100644
index 00000000..bd971c74
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.json
new file mode 100644
index 00000000..d66e8e26
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "ad7148f1-1538-4ecb-94cd-6a4d4b36c789",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.556.77"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "0011451f-0bd2-42e9-bdba-9fcbf93ac9fb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/79b98e79-9ef1-4411-a26d-1c03a3649a0c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "79b98e79-9ef1-4411-a26d-1c03a3649a0c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "60453038"
+ } ],
+ "text": "Becameat"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "edf8e3d5-ca15-414a-9436-18518c5d0a69",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "604808395"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0884) 756294235"
+ }, {
+ "system": "email",
+ "value": "elina.dilla@hansen.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Ahrstr. 27c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "27c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Ahrstr."
+ } ]
+ } ],
+ "city": "Baranscheid",
+ "postalCode": "59779",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6ae37f3b-aff3-40e4-ac46-28e929dbeb87",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "177086960"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.xml
new file mode 100644
index 00000000..f00cc7b4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ad7148f1/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/input.xml
new file mode 100644
index 00000000..8570be09
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/input.xml
@@ -0,0 +1,403 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.json
new file mode 100644
index 00000000..b274f749
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.json
@@ -0,0 +1,234 @@
+{
+ "resourceType": "Parameters",
+ "id": "aedad2dd-d8db-47f5-acd8-ce39ea9153be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.784.20"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "493415e1-ad06-4763-b3e8-cdafb2af8c73",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-02-08",
+ "end": "2024-05-08"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:2f86b77d-8e11-42ac-89fe-5a1d39775378"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/dfb981c1-fe46-4996-bbbd-3b7d33a14c58"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "dfb981c1-fe46-4996-bbbd-3b7d33a14c58",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "42938335"
+ } ],
+ "text": "Fexvomilzol"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "67cda6ff-0258-48e9-a5d4-2655e6700fca",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "839368350"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-7222-51775715"
+ }, {
+ "system": "email",
+ "value": "josie.malkus@jaros.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Pfarrer-Jekel-Str. 47a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "47a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Pfarrer-Jekel-Str."
+ } ]
+ } ],
+ "city": "Klein Kimberlystadt",
+ "postalCode": "17592",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "de45e050-700e-4131-996c-c4b167de71d9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "792402920"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.xml
new file mode 100644
index 00000000..ed7c09e0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_aedad2dd/output.xml
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/input.xml
new file mode 100644
index 00000000..f938fe39
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.json
new file mode 100644
index 00000000..40b05546
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "b1146a3f-5b7b-4b0b-a6d8-32245ea54c14",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.754.13"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "16a36888-bf66-4324-8c6c-e9f1201f0250",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/433e2d4e-5f34-4e70-8dc1-99748c3290d1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "433e2d4e-5f34-4e70-8dc1-99748c3290d1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f5b1dc55-ce05-4466-9fc6-15570b9b5d2f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "469861049"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-868-7658755"
+ }, {
+ "system": "email",
+ "value": "milo.roggatz@kette.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Ilmstr. 86" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "86"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Ilmstr."
+ } ]
+ } ],
+ "city": "Klein Jack",
+ "postalCode": "92689",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "52c526f8-7e8f-4fd4-ba9f-512feaa81364",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "793794444"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.xml
new file mode 100644
index 00000000..7e03235f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_b1146a3f/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/input.xml
new file mode 100644
index 00000000..5be28349
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.json
new file mode 100644
index 00000000..b4cf7737
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "bcba7c06-44a6-4eb8-a379-fc111fde58b7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.745.40"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6a0e635b-64ad-4969-93f5-fe994385582a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/8f62bfd7-b261-4a5f-863c-3f29b9fec76a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8f62bfd7-b261-4a5f-863c-3f29b9fec76a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "59478707-1d4f-42a6-a25d-e5feaac40f6b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "517599493"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-8307-82061900"
+ }, {
+ "system": "email",
+ "value": "ylvi.dauer@grossheim.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Schopenhauerstr. 11c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "11c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Schopenhauerstr."
+ } ]
+ } ],
+ "city": "Groß Lucian",
+ "postalCode": "71897",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b4fab319-0f45-4804-b3dd-bf4a78907267",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "247511094"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.xml
new file mode 100644
index 00000000..661eebb7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_bcba7c06/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/input.xml
new file mode 100644
index 00000000..cffaa178
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.json
new file mode 100644
index 00000000..395e6c77
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "c2ad19ce-176b-4a94-bd2f-c6f98bd8419f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.000.011.203.687.86"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "e5f78797-2ccd-48e4-beed-a3d329539102",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4923c468-267c-4f36-8335-2dc6474ea35f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4923c468-267c-4f36-8335-2dc6474ea35f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "60537835"
+ } ],
+ "text": "Zytostatika"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2da9911f-f338-4288-a6a4-7f8660a5b5a3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "384514918"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(09898) 0577227"
+ }, {
+ "system": "email",
+ "value": "daniel.engelen@lewke.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Kneippstr. 9" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "9"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Kneippstr."
+ } ]
+ } ],
+ "city": "Neu Ricardoheim",
+ "postalCode": "46562",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e3f0fe97-3653-4889-b654-eeb1808a5f2c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "417223439"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.xml
new file mode 100644
index 00000000..43f80d38
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c2ad19ce/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/input.xml
new file mode 100644
index 00000000..675ff122
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.json
new file mode 100644
index 00000000..21b647b4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "c3479bd3-ba4f-4cd3-8078-d9c265ac1e61",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.742.49"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "8e3f324d-5b48-474f-a96b-e39f69f37449",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/5b71dbdc-9f9b-49bb-bb45-c19252142d47"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "5b71dbdc-9f9b-49bb-bb45-c19252142d47",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "37cef92f-8334-4616-bbd7-8f4dddcd9abf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "739219832"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(02590) 1658207"
+ }, {
+ "system": "email",
+ "value": "kerim.lenk@roba.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Hallesche Str. 17b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "17b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Hallesche Str."
+ } ]
+ } ],
+ "city": "Leanderfeld",
+ "postalCode": "59483",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f42afeae-8ecf-4c2a-9463-fb862edc4ef6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "610878599"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.xml
new file mode 100644
index 00000000..b48dc83d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c3479bd3/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/input.xml
new file mode 100644
index 00000000..664812ba
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/input.xml
@@ -0,0 +1,402 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.json
new file mode 100644
index 00000000..f6407a74
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.json
@@ -0,0 +1,233 @@
+{
+ "resourceType": "Parameters",
+ "id": "c60771b5-57fe-4f01-9f04-2efeb8c32856",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.781.29"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "4b3de641-7044-4d47-9727-a27891d68b8c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-11-04"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:5cd52661-eea8-4da7-aca7-bc1ae61f5d0f"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/816d7904-e986-4da8-a034-79aac629a09e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "816d7904-e986-4da8-a034-79aac629a09e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16403786"
+ } ],
+ "text": "Belglucofen"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "176817a9-caa3-4b9c-8932-d86c8478f7cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "478570881"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-8195-22746056"
+ }, {
+ "system": "email",
+ "value": "johann.morgenstern@albrecht.ch"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Hütte 73a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "73a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Hütte"
+ } ]
+ } ],
+ "city": "Neu Talealand",
+ "postalCode": "87121",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b79bb7f7-936c-4a54-b89d-93d71eb93e62",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "395405673"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.xml
new file mode 100644
index 00000000..ea39df4f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_c60771b5/output.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/input.xml
new file mode 100644
index 00000000..ad4e4bfe
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.json
new file mode 100644
index 00000000..8b46a62d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "cae47569-4117-4e68-9add-e6a9bb3c52fd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.769.65"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "44d15e0d-18b6-4063-aad4-9e53e390f832",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c3da57aa-2367-4f55-b668-eeb78ba0fff8"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c3da57aa-2367-4f55-b668-eeb78ba0fff8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "baf19225-f82c-40a3-90ff-c367bc6352ea",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "555846595"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0267) 478020260"
+ }, {
+ "system": "email",
+ "value": "emre.bauschinger@kette.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Ulrichstr. 29c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "29c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Ulrichstr."
+ } ]
+ } ],
+ "city": "Klein Lilli",
+ "postalCode": "13664",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ea70ab82-2cc4-4c4f-b2c1-6e4a2ef204cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "776481826"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.xml
new file mode 100644
index 00000000..b27f128b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cae47569/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/input.xml
new file mode 100644
index 00000000..96227a47
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.json
new file mode 100644
index 00000000..5dee9ba7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "cb78899c-8deb-48e4-b603-3375b8e76433",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.006.474.836.90"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-13"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a4ff1615-29ad-4478-b76a-384f35b4eec9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/02b1cf42-eb71-4b4d-8211-677e920002a3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-13",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "02b1cf42-eb71-4b4d-8211-677e920002a3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "013f4260-3581-4013-92ab-55559a8b5299",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "483241394"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-585-8075726"
+ }, {
+ "system": "email",
+ "value": "batuhan.bartels@karsten.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Heimstättenweg 692" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "692"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Heimstättenweg"
+ } ]
+ } ],
+ "city": "Neu Malina",
+ "postalCode": "67550",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "5a6e6e28-6131-4aad-93ea-a34104d8e51f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "621509815"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.xml
new file mode 100644
index 00000000..533e101c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cb78899c/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/input.xml
new file mode 100644
index 00000000..e46fb632
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.json
new file mode 100644
index 00000000..f9837b66
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "cc2415eb-63f4-46bb-8706-adba8717be17",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.757.04"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "543abae0-1f76-4169-acb2-499bb938c92f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4a54cd38-e331-4a5c-84fb-b89651817c6e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4a54cd38-e331-4a5c-84fb-b89651817c6e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2f0b6987-2996-4028-9ef8-84c523d69888",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "711619336"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(02416) 4196742"
+ }, {
+ "system": "email",
+ "value": "meike.wassiluk@bogdashin.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Dünenweg 81b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "81b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Dünenweg"
+ } ]
+ } ],
+ "city": "Groß Daria",
+ "postalCode": "56205",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "872ab1b3-1080-4a11-880e-3511ab60c1be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "611647025"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.xml
new file mode 100644
index 00000000..f377559d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cc2415eb/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/input.xml
new file mode 100644
index 00000000..e2105647
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.json
new file mode 100644
index 00000000..e5aa0082
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "ce4b1eb6-b8cd-4432-8dee-ca1cc4d4d26d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.744.43"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "bcd3f725-4744-48d0-bdf5-2125d2f6c176",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/34299c93-3cc4-4979-b938-61ae25a1182b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "34299c93-3cc4-4979-b938-61ae25a1182b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "dced6b37-c903-4054-88a7-3817ac9a7665",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "883968316"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-074-9317125"
+ }, {
+ "system": "email",
+ "value": "amira.sauer@werrmann.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Karl-Wingchen-Str. 63" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "63"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Karl-Wingchen-Str."
+ } ]
+ } ],
+ "city": "Nikescheid",
+ "postalCode": "34828",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "336da92f-3759-4830-8195-a25eaadd86bd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "225840686"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.xml
new file mode 100644
index 00000000..6e1475e9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_ce4b1eb6/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/input.xml
new file mode 100644
index 00000000..035ea1ff
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.json
new file mode 100644
index 00000000..53876284
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "cec6c127-2c0f-47f3-a77f-783aba60b4cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.756.07"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "941406d0-8aca-4b57-84d3-ba536c234670",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/fad7be59-97dc-47b3-9b51-8b5b228b14a3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "fad7be59-97dc-47b3-9b51-8b5b228b14a3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4e7e857b-da67-42ba-a225-86156ffad206",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "460007921"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-3117-51449999"
+ }, {
+ "system": "email",
+ "value": "meik.tonat@herrmann.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Windthorststr. 57a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "57a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Windthorststr."
+ } ]
+ } ],
+ "city": "Pinnockland",
+ "postalCode": "14407",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "5cd2b953-f5d4-4019-ace2-518b80b0c3a6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "699637007"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.xml
new file mode 100644
index 00000000..660dd23e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_cec6c127/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/input.xml
new file mode 100644
index 00000000..399c2156
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.json
new file mode 100644
index 00000000..0195647b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "d45686e2-0719-49cc-bac4-d72015f30b5f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.746.37"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1b7ea09a-1140-497e-8658-9e68b1fcbf74",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/7031697f-97c5-4183-b01b-3b74883e9760"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7031697f-97c5-4183-b01b-3b74883e9760",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11feef0f-39a4-465a-a97e-e1fcc54dfa83",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "612914060"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0061) 349909615"
+ }, {
+ "system": "email",
+ "value": "ronja.boruschewski@assmus.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Elbestr. 917" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "917"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Elbestr."
+ } ]
+ } ],
+ "city": "Güldemeisterheim",
+ "postalCode": "78118",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cc6710ca-c383-458b-8e99-c6df3bb47260",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "935884750"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.xml
new file mode 100644
index 00000000..f938deb7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_d45686e2/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/input.xml
new file mode 100644
index 00000000..236326d0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.json
new file mode 100644
index 00000000..0ccf3394
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "dbeccf45-2015-4eb1-9515-5a54cf12a485",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.762.86"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "c10582b8-aa26-436c-a38b-b70995bc58ef",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/5d293216-fe09-44fc-a961-797a8c6ee681"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "5d293216-fe09-44fc-a961-797a8c6ee681",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d2afb627-cac3-4aaa-bd82-478564e556ec",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "178681307"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(03855) 5059185"
+ }, {
+ "system": "email",
+ "value": "katrin.fenner@lack.ch"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Zeppelinstr. 45" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "45"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Zeppelinstr."
+ } ]
+ } ],
+ "city": "Neu Sebastiandorf",
+ "postalCode": "60499",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "bf7b6b10-ca17-4097-a317-7cfc2e55d6ff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "743253968"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.xml
new file mode 100644
index 00000000..1ae19d5f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dbeccf45/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/input.xml
new file mode 100644
index 00000000..a2cf5376
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.json
new file mode 100644
index 00000000..4b24770f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "dd2d2c6b-112d-4a08-9de1-baf77250a20f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.000.011.203.686.89"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "5e9c3c2c-208a-4216-b44b-22910658295c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/40f3a7ea-5d90-4670-b38b-7f19f3767850"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "40f3a7ea-5d90-4670-b38b-7f19f3767850",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06427082"
+ } ],
+ "text": "Zytostatika"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2fd6bbc8-6159-4731-a7a2-e8e4dcd19585",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "487238495"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0631) 347228164"
+ }, {
+ "system": "email",
+ "value": "kian.franta@riermeier.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Auerweg 65" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "65"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Auerweg"
+ } ]
+ } ],
+ "city": "Schön Leandra",
+ "postalCode": "55353",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "74d6e30d-a29a-480b-9d82-0d256a8f15a7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "550442587"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.xml
new file mode 100644
index 00000000..85474e8d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd2d2c6b/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/input.xml
new file mode 100644
index 00000000..1a9ef431
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.json
new file mode 100644
index 00000000..2e0e4521
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "dd6f3569-42e6-48b5-96ae-c8edb9cdd06d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.006.474.840.78"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-13"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "743c5319-ef29-4f42-a5c8-7c15ae17fff7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/bc711270-e8fb-419d-8923-43e3c5baadcb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-13",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "bc711270-e8fb-419d-8923-43e3c5baadcb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ed7d33a4-c113-4330-9917-9fd9206c794b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "629521522"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(09367) 7801199"
+ }, {
+ "system": "email",
+ "value": "zoé.horna@bos.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Fester Weg 0" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "0"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Fester Weg"
+ } ]
+ } ],
+ "city": "Maurergrün",
+ "postalCode": "89655",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "34170241-b935-479a-b3a4-036b09090535",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "887332180"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.xml
new file mode 100644
index 00000000..f5045988
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_dd6f3569/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/input.xml
new file mode 100644
index 00000000..c6a9d473
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.json
new file mode 100644
index 00000000..45e30392
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "e4726de8-e08b-4328-b075-54f75bec61ed",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "169.000.011.203.695.62"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "e450276a-f2f0-4720-afab-bce46fba1f1f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/7974c8eb-4482-4785-88b7-81a57331867f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7974c8eb-4482-4785-88b7-81a57331867f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "14659553"
+ } ],
+ "text": "Abaamisäure"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e44a0bc6-e04b-41cb-8194-9f6fc00e33b8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "461121725"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0442) 721610987"
+ }, {
+ "system": "email",
+ "value": "jason.schaffarzik@auer.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Lötzener Str. 44b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "44b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Lötzener Str."
+ } ]
+ } ],
+ "city": "West Juandorf",
+ "postalCode": "54462",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "21b10365-fc40-4a6b-8558-b12a3fbcf9e4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "706769059"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.xml
new file mode 100644
index 00000000..66d34b52
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e4726de8/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/input.xml
new file mode 100644
index 00000000..4dcc0e71
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.json
new file mode 100644
index 00000000..c274c525
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "e55e8bba-84f4-4073-b62e-f31dca2a6684",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.755.10"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "7817c6bc-0c90-4962-9319-d0cfb83c54f8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a22aadff-68de-4612-925e-692e632d86a7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a22aadff-68de-4612-925e-692e632d86a7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9daf0953-0717-4ed6-b411-64dc421307f9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "737599264"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(08673) 2510563"
+ }, {
+ "system": "email",
+ "value": "nadine.karhoff@huckestein.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Erftstr. 57" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "57"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Erftstr."
+ } ]
+ } ],
+ "city": "Lehmannstadt",
+ "postalCode": "05982",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "1fcf58f6-0bb1-49b8-9943-3ae1568c274f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "408698026"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.xml
new file mode 100644
index 00000000..3058232b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_e55e8bba/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/input.xml
new file mode 100644
index 00000000..139e6959
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/input.xml
@@ -0,0 +1,402 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.json
new file mode 100644
index 00000000..4d9974f3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.json
@@ -0,0 +1,233 @@
+{
+ "resourceType": "Parameters",
+ "id": "f25d9001-aabc-4cca-a1b9-c299c485ae61",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.992.43"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6bf5a19b-dadc-4dd5-beb4-98fb2718b71f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-11-04"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:e4521c66-ca29-43a8-bb2c-9a6ffdec4e5f"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a2434c37-14e0-4e37-b68d-8d2d5db16bbc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a2434c37-14e0-4e37-b68d-8d2d5db16bbc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "26702202"
+ } ],
+ "text": "Famimoor"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62cf5712-bd66-4275-9be1-f607aade06f9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "179250867"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(02967) 0711010"
+ }, {
+ "system": "email",
+ "value": "lennard.barr@bruhns.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Schenkendorfstr. 77" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "77"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Schenkendorfstr."
+ } ]
+ } ],
+ "city": "Kummlegrün",
+ "postalCode": "49648",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3c1bead4-257b-41e3-a956-82282333e4a8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "705332588"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.xml
new file mode 100644
index 00000000..cb45b206
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f25d9001/output.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/input.xml
new file mode 100644
index 00000000..ad6bac29
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.json
new file mode 100644
index 00000000..596c325c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "f276a8fc-ea58-4b5f-b44f-1f8cc89afa22",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.032.997.28"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b83c1d8f-5522-4be7-b48b-3ee711e3a7b4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/68a8f9d1-6117-46a4-adb2-0f6876d99895"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "68a8f9d1-6117-46a4-adb2-0f6876d99895",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "64536028"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5ef86a81-de3d-4440-81ac-5c7e6ff3b9db",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "529873977"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-479-7901020"
+ }, {
+ "system": "email",
+ "value": "dana.meisch@kolokas.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Bohofsweg 52" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "52"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Bohofsweg"
+ } ]
+ } ],
+ "city": "Winterhagen",
+ "postalCode": "08005",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b947bda7-71b1-46d7-aa15-ca31f05d449a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "866731615"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.xml
new file mode 100644
index 00000000..90c552c8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f276a8fc/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/input.xml
new file mode 100644
index 00000000..dc3a9429
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.json
new file mode 100644
index 00000000..3e3e17dd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "f4c61557-9f40-4075-b414-3da89772b658",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.741.52"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "63468889-5741-42ba-8c05-1780efe3b63f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/f5fc44ed-6e62-42c8-8dd9-d78514f62a41"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f5fc44ed-6e62-42c8-8dd9-d78514f62a41",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a9987faf-9a1c-4316-ada5-37fd83bbac82",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "201216337"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0734) 924483515"
+ }, {
+ "system": "email",
+ "value": "marah.jahnke@kleinmann.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Dechant-Fein-Str. 29b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "29b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Dechant-Fein-Str."
+ } ]
+ } ],
+ "city": "Burgerburg",
+ "postalCode": "36436",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "09c570e0-4c18-4d60-9526-71c8ebe44475",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "890977542"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.xml
new file mode 100644
index 00000000..56591758
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f4c61557/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/input.xml
new file mode 100644
index 00000000..3a345697
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.json
new file mode 100644
index 00000000..26739a1b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "f8d80421-595d-4ea1-a815-b18d2f411fcc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.767.71"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a160023a-f08b-4680-906c-2b7c2f22e3ae",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4d5138a7-780e-43d6-8e51-ea5c8f9abe38"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4d5138a7-780e-43d6-8e51-ea5c8f9abe38",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a9680f6c-915f-4235-a521-caaaad0d8121",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "021082808"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-4306-82643876"
+ }, {
+ "system": "email",
+ "value": "friederike.raukuc@ruch.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Kolberger Str. 4" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "4"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Kolberger Str."
+ } ]
+ } ],
+ "city": "Ferdinandfeld",
+ "postalCode": "34234",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce274c5d-17c7-42d7-8188-543131700499",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "489959499"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.xml
new file mode 100644
index 00000000..89c8dd6a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_f8d80421/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/input.xml
new file mode 100644
index 00000000..1f951f85
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.json
new file mode 100644
index 00000000..4e4a260f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "feff6e76-432b-4d57-b36d-5831a87a00a6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.749.28"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "d2a9e081-4df5-4872-be3c-6b19e650194e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/7cb0f074-2d66-45c1-a2a5-5beb59e8373b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7cb0f074-2d66-45c1-a2a5-5beb59e8373b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0a9bf779-9140-4a75-83d3-4b51229dc35b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "483945359"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0980) 607271140"
+ }, {
+ "system": "email",
+ "value": "robert.gunther@ranz.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Am Hemmelrather Hof 59a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "59a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Am Hemmelrather Hof"
+ } ]
+ } ],
+ "city": "Honzburg",
+ "postalCode": "40382",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "09125735-9eed-4b9a-aae9-8eeea7bbbc4e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "768593806"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.xml
new file mode 100644
index 00000000..a58fa3e1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/002_document_to_sign_feff6e76/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/input.xml
new file mode 100644
index 00000000..ed1220c4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.json
new file mode 100644
index 00000000..71ca2a8c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "004ef082-6a5a-437a-a17d-e84b521b1e46",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.551.92"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "66b4bbbf-a8ff-4238-a7d9-a79642aa0403",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/f13e77e0-e552-4277-830b-d06858665425"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f13e77e0-e552-4277-830b-d06858665425",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "30978281"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "00711feb-cbbf-4872-922a-d34c2d4e340a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "037278962"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0018) 308308710"
+ }, {
+ "system": "email",
+ "value": "adriano.schlawitz@leibold.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Julius-Leber-Str. 29b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "29b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Julius-Leber-Str."
+ } ]
+ } ],
+ "city": "Groß Edgarbrunn",
+ "postalCode": "70481",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e218e136-0b48-4f59-b698-88a86dd2a122",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "250084958"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.xml
new file mode 100644
index 00000000..ca8dfaf3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_004ef082/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/input.xml
new file mode 100644
index 00000000..0f2f768e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.json
new file mode 100644
index 00000000..89ec4b19
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "1e697f5a-1a19-444a-be8b-acba986d27d1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.532.52"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "911b9735-430a-4ba3-abaa-b54a9ee523c3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/809b6c79-0ed9-4cd5-a8c6-0851b206a7a0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "809b6c79-0ed9-4cd5-a8c6-0851b206a7a0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "22477205"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "89efb289-6ed1-44f1-9455-576c7d5d8947",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "383269360"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(01048) 7836562"
+ }, {
+ "system": "email",
+ "value": "mirac.cleem@schonberg.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Goethestr. 54c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "54c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Goethestr."
+ } ]
+ } ],
+ "city": "Lindenmayerberg",
+ "postalCode": "10316",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "0ba19894-1d16-415e-bf3e-a13202741dee",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "735114655"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.xml
new file mode 100644
index 00000000..c29c73c1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_1e697f5a/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/input.xml
new file mode 100644
index 00000000..dbda7788
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.json
new file mode 100644
index 00000000..8e4399bb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "39ea3447-257d-48bf-9d8e-b3375ad82cbf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.534.46"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "cdf78ed4-e25f-4d61-a99a-d149296c5aaf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/52a586d2-610e-43d1-91e1-7b08fb7222cf"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "52a586d2-610e-43d1-91e1-7b08fb7222cf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "24025068"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f21fc75-83f3-437a-b8a7-b90a294494a3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "469332828"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-8724-61741673"
+ }, {
+ "system": "email",
+ "value": "alan.tillack@matthes.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Habichtgasse 07a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "07a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Habichtgasse"
+ } ]
+ } ],
+ "city": "Lunaburg",
+ "postalCode": "21832",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d1d1a93f-b530-4b47-b381-8b8b88a2023b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "382278094"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.xml
new file mode 100644
index 00000000..0cf77342
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_39ea3447/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/input.xml
new file mode 100644
index 00000000..e13b101d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.json
new file mode 100644
index 00000000..9a0426d6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "3fb29ad6-08cb-4eb3-b2db-52b187eef8c0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.533.49"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "5fbf8201-293c-442b-84f2-b4950fb05c5d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/daa92e5f-8902-4890-bbe4-fa82a42e7e09"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "daa92e5f-8902-4890-bbe4-fa82a42e7e09",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "84264572"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8d9546c8-f55f-4ee0-9abf-e6e5cd05b530",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "787145379"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(05009) 9116624"
+ }, {
+ "system": "email",
+ "value": "anthony.leyckes@fenner.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Ropenstaller Weg 700" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "700"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Ropenstaller Weg"
+ } ]
+ } ],
+ "city": "Doskoczynskiburg",
+ "postalCode": "08984",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a881f844-25d0-4bbe-bcc2-8877310823e6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "231796846"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.xml
new file mode 100644
index 00000000..187f77bd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_3fb29ad6/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/input.xml
new file mode 100644
index 00000000..9a72ca7c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.json
new file mode 100644
index 00000000..4f7c4813
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "53d1cfe9-a1a6-4c90-b433-9884fba28eb2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.549.98"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "326ef9fa-b32b-4b8b-b2d8-bb0d6b926032",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b0d48557-e8e1-416a-b34a-562a9994f14b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b0d48557-e8e1-416a-b34a-562a9994f14b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10642981"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3173ee19-9bcd-4a05-8d19-670be347ddb4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "479601479"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-7131-23459087"
+ }, {
+ "system": "email",
+ "value": "klaas.reinelt@bigdeli.ch"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Memelstr. 60" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "60"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Memelstr."
+ } ]
+ } ],
+ "city": "Davidescheid",
+ "postalCode": "75449",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "758ab2c1-81cc-43ff-b174-448eaf5f5d43",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "786249106"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.xml
new file mode 100644
index 00000000..78b4a6b8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_53d1cfe9/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/input.xml
new file mode 100644
index 00000000..9e051845
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.json
new file mode 100644
index 00000000..e17a7270
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "59da5b8a-4c5b-4dd9-b947-6881be111f66",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.554.83"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "94c2e781-9b40-4cd2-87a4-21836b7b0712",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/6c960237-283e-4e9b-beba-e021ee407627"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "6c960237-283e-4e9b-beba-e021ee407627",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "89414303"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "da971789-6e05-48ee-86a5-ceefc2cc4a6e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "614508968"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(04452) 0775160"
+ }, {
+ "system": "email",
+ "value": "peter.wiebe@scherz.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Borussiastr. 085" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "085"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Borussiastr."
+ } ]
+ } ],
+ "city": "Bad Alinahagen",
+ "postalCode": "60537",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a3644fa7-b91d-4e9a-be15-6b3903b262e4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "356309197"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.xml
new file mode 100644
index 00000000..b9fd2c10
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_59da5b8a/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/input.xml
new file mode 100644
index 00000000..06719594
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.json
new file mode 100644
index 00000000..6dfda78b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "5e9c3c5a-3afe-4f48-90ca-60e2b29996a7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.531.55"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b7bf7119-dd4f-4730-af82-fd1704738cf5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/0f73795b-65c6-44cc-be03-3f8badf3ac13"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0f73795b-65c6-44cc-be03-3f8badf3ac13",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "74302188"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a3ef571f-d0e4-4bed-aec1-c649fcfc9a55",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "464680902"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0118) 367892342"
+ }, {
+ "system": "email",
+ "value": "thomas.hort@marahrens.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Behringstr. 32a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "32a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Behringstr."
+ } ]
+ } ],
+ "city": "Goedickehagen",
+ "postalCode": "97285",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "66faf585-0944-40c2-8f29-2178d89a23b8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "056578601"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.xml
new file mode 100644
index 00000000..33b1f501
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_5e9c3c5a/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/input.xml
new file mode 100644
index 00000000..d47f8caa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.json
new file mode 100644
index 00000000..eb9d2b59
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "6e19e753-63d5-4696-ba18-b3d361d8a0c0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.529.61"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "667b4141-bc07-486b-aebf-b49d87b71339",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1993584c-2956-4f7c-af1b-997282e69df9"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1993584c-2956-4f7c-af1b-997282e69df9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "94890460"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "308717ae-88af-4b5c-87f8-5f94b34f742d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "033064063"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0747) 184790321"
+ }, {
+ "system": "email",
+ "value": "hamza.reppin@xn--thrnhardt-x2a.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Ehrlichstr. 3" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "3"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Ehrlichstr."
+ } ]
+ } ],
+ "city": "Alt Melek",
+ "postalCode": "51285",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a7a3e625-d370-4128-851f-b15be4573377",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "770468750"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.xml
new file mode 100644
index 00000000..5be2bdba
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_6e19e753/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/input.xml
new file mode 100644
index 00000000..d8b4151b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.json
new file mode 100644
index 00000000..3b339f83
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "7e017904-dc80-467b-a66f-19df4c843173",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.527.67"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b13fa9f4-a087-47bc-8706-c1d06ef05968",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a6c335e9-aaa0-4ad7-963f-4748abf6acc0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a6c335e9-aaa0-4ad7-963f-4748abf6acc0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "64184374"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6f25177d-5d96-47bd-9495-74774528ec8a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "711209517"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-5122-37264545"
+ }, {
+ "system": "email",
+ "value": "hailey.heinze@gutjahr.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Wannseestr. 75a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "75a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Wannseestr."
+ } ]
+ } ],
+ "city": "Groß Hasan",
+ "postalCode": "47624",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "422e02e5-9786-4239-b676-955e06ec7667",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "834553350"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.xml
new file mode 100644
index 00000000..b18135d6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_7e017904/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/input.xml
new file mode 100644
index 00000000..d1d96782
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.json
new file mode 100644
index 00000000..e8c5e5a4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "9965d2f7-3968-476f-bc8e-255899d3f93a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.550.95"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a46b41f7-5024-4f7d-be6f-43e4342b469d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/aaf94c1b-dd28-4f1b-82f3-83e2a9ffffbc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "aaf94c1b-dd28-4f1b-82f3-83e2a9ffffbc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16833239"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2bcda0be-c7d0-42bd-b453-5afb56c60a54",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "178331393"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0086) 004305314"
+ }, {
+ "system": "email",
+ "value": "lisa.schahbasian@leist.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Gabriele-Münter-Str. 97a" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "97a"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Gabriele-Münter-Str."
+ } ]
+ } ],
+ "city": "Neu David",
+ "postalCode": "28914",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4091f9cb-dbe2-4dbf-918d-82335fe8b66e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "423315810"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.xml
new file mode 100644
index 00000000..4e1a1fde
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_9965d2f7/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/input.xml
new file mode 100644
index 00000000..38aa8fac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.json
new file mode 100644
index 00000000..407881b0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "a40b9e5a-7cba-4a48-a266-72a447f42a7d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.553.86"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "5b2d9d3a-90a8-4a13-b247-7a57cb8e8ba8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/9224541a-4db7-4fb2-8561-7bd2f2b884cc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9224541a-4db7-4fb2-8561-7bd2f2b884cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09921210"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f3665e8-3e29-4087-8753-76e5ea27dbbf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "473655401"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-5210-24343099"
+ }, {
+ "system": "email",
+ "value": "michel.tremmel@xn--grtzinger-17a.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Albert-Einstein-Str. 43b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "43b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Albert-Einstein-Str."
+ } ]
+ } ],
+ "city": "West William",
+ "postalCode": "00269",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6491a45b-7286-48d2-b125-22ba724bf81e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "360613903"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.xml
new file mode 100644
index 00000000..6f6d19eb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_a40b9e5a/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/input.xml
new file mode 100644
index 00000000..92f6d4a7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.json
new file mode 100644
index 00000000..5bfa1c4a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "f3b90767-7041-49f2-9ef0-3cb883883918",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.541.25"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "94adffcd-62e0-445f-916a-8b2c9d5d940b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/fb67b34d-ec20-4cf7-a0e8-96ce2e2651ff"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "fb67b34d-ec20-4cf7-a0e8-96ce2e2651ff",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "25582871"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8e712ed2-d252-4112-9f70-760717e0e9e0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "559166155"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-3334-51630533"
+ }, {
+ "system": "email",
+ "value": "vivien.schwandke@xn--knig-5qa.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Karl-Wingchen-Str. 44c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "44c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Karl-Wingchen-Str."
+ } ]
+ } ],
+ "city": "Kjellgrün",
+ "postalCode": "37345",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "54cade8e-ebd3-42f3-954e-c2dae2409595",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "781777272"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.xml
new file mode 100644
index 00000000..b7c327af
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_f3b90767/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/input.xml
new file mode 100644
index 00000000..ea3ed576
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.json
new file mode 100644
index 00000000..3d8b0567
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "fd771be7-a806-46d8-8f16-90e9e540f030",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.552.89"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "816abb97-2db7-48b3-840b-2783df32c805",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b90a8cac-0dd5-421b-9416-c28db92af6ad"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b90a8cac-0dd5-421b-9416-c28db92af6ad",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "72828845"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4f3a562c-cce3-4b65-a26d-f0faaa2741db",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "737393702"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(02065) 5910464"
+ }, {
+ "system": "email",
+ "value": "gina.kaesmacher@faulhaber.info"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Van't-Hoff-Str. 35" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "35"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Van't-Hoff-Str."
+ } ]
+ } ],
+ "city": "Kayberg",
+ "postalCode": "20971",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "54ed15b9-6f7f-45ea-94ab-154735d2aa1e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "936686332"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.xml
new file mode 100644
index 00000000..52f546e2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/003_document_to_sign_fd771be7/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/input.xml
new file mode 100644
index 00000000..4945dfe9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.json
new file mode 100644
index 00000000..bfdfa9a3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "0169e0e6-9aeb-4753-b95a-a320e286616c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.810.39"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "be285bf2-d7e8-410a-bb83-e27c9c48214f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b2e5408d-1679-46d1-86f8-1cb6737bd3d2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 3,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b2e5408d-1679-46d1-86f8-1cb6737bd3d2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2c4d633a-fd39-4276-8b86-cc7ce4d3142a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "208729108"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-585-7812901"
+ }, {
+ "system": "email",
+ "value": "lennart.keil@xn--schffer-7wa.net"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Im Oberfeld 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Im Oberfeld"
+ } ]
+ } ],
+ "city": "Ost Aleastadt",
+ "postalCode": "71010",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9db79de5-153b-4a06-98fa-02c8d47fa01f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "577428372"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.xml
new file mode 100644
index 00000000..f484723d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_0169e0e6/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/input.xml
new file mode 100644
index 00000000..e5557089
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.json
new file mode 100644
index 00000000..bb2e1b96
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "fb58223d-27b0-4e47-be16-d958871a3359",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.809.42"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b5577e10-3190-46e1-9e3f-f4a1e4f56b4e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a07173a3-6917-43f3-a20c-14f1170dcd46"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 3,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a07173a3-6917-43f3-a20c-14f1170dcd46",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "12345678"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d522e2fc-6276-4134-9a8a-bdce0c848cd4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "609724093"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0602) 198161888"
+ }, {
+ "system": "email",
+ "value": "robin.hingsen@kluge.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Linienstr. 1" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "1"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Linienstr."
+ } ]
+ } ],
+ "city": "Alt Finnleyfeld",
+ "postalCode": "72153",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c163d1a6-9cee-4920-8f17-8a1b916c453b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "054643243"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.xml
new file mode 100644
index 00000000..ae41c075
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/004_document_to_sign_fb58223d/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/input.xml
new file mode 100644
index 00000000..4e6b5b63
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.json
new file mode 100644
index 00000000..6159c894
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "2745328a-eed1-4ea2-a315-bdf358ec37c4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.530.58"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "662794ff-fde8-4b2b-bc3a-d4bf9e1fff84",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/d11fceac-8c4e-4a53-adda-d1b3a5880640"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "d11fceac-8c4e-4a53-adda-d1b3a5880640",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "78632037"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8951db19-eae6-49cf-84e2-8db15df8d8f0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "020891625"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-8772-75652867"
+ }, {
+ "system": "email",
+ "value": "elif.kresse@hooss.com"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Dieselstr. 718" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "718"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Dieselstr."
+ } ]
+ } ],
+ "city": "Kleiberstadt",
+ "postalCode": "09209",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "de1026d1-96eb-446e-b3dc-06be703c5ec0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "633789165"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.xml
new file mode 100644
index 00000000..841ea8f9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_2745328a/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/input.xml
new file mode 100644
index 00000000..48fbfd2f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.json
new file mode 100644
index 00000000..52410f85
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "50200ff7-f161-417d-b573-65a0f5030721",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.528.64"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "04a3ecfe-3f20-40d8-af33-14d501eae146",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/11b642ce-8a38-40a9-8b6c-07e56449d0a0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "11b642ce-8a38-40a9-8b6c-07e56449d0a0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "87002772"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1171ce4e-dc57-44ce-a62a-7a40a774ebf7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "472318252"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-726-9527977"
+ }, {
+ "system": "email",
+ "value": "finlay.astafei@seitz.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Weiherstr. 85" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "85"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Weiherstr."
+ } ]
+ } ],
+ "city": "Mohammedberg",
+ "postalCode": "42390",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4af94c73-40ef-46ff-8b33-c919806592d0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "237531105"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.xml
new file mode 100644
index 00000000..5ac58614
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_50200ff7/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/input.xml
new file mode 100644
index 00000000..3d3ae811
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.json
new file mode 100644
index 00000000..6df43758
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "8e04dafe-7e62-4b2b-bc60-8bd82a287b35",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.535.43"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9e18ace9-4759-4e29-8d5a-f3b0089815c0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/26f41266-25fb-42f5-af32-4cfc670e29c2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "26f41266-25fb-42f5-af32-4cfc670e29c2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "87382645"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9081a384-4435-4c84-8ad7-80492e6a4094",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "881916350"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-3035-48165913"
+ }, {
+ "system": "email",
+ "value": "emilie.bork@ney.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Kiefernweg 01" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "01"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Kiefernweg"
+ } ]
+ } ],
+ "city": "Neu Taminoheim",
+ "postalCode": "11986",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ebd9511c-a9f6-413b-9b42-0ba8d5b61783",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "116260144"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.xml
new file mode 100644
index 00000000..0054a101
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_8e04dafe/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/input.xml
new file mode 100644
index 00000000..ca91b36d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.json
new file mode 100644
index 00000000..cd0e3af7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "d9759800-d1ea-4b22-98a9-74dac8b1b8ba",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.526.70"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "3d4183f1-a98b-4e16-820f-20920e2f4fa6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b91fe801-5cc2-4ac8-99d8-ea99afa95631"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b91fe801-5cc2-4ac8-99d8-ea99afa95631",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10256692"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f45d2a26-5ff4-4d28-a519-098687f10930",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "030858272"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-7111-25857900"
+ }, {
+ "system": "email",
+ "value": "giuseppe.filipowski@rodowski.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Gierener Weg 17" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "17"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Gierener Weg"
+ } ]
+ } ],
+ "city": "Franzisburg",
+ "postalCode": "48462",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "8129b606-a9fe-4d6b-8240-9cf67a6d30fd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "032950438"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.xml
new file mode 100644
index 00000000..e2ec72c7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/005_document_to_sign_d9759800/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/input.xml
new file mode 100644
index 00000000..2d8f769d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/input.xml
@@ -0,0 +1,402 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.json
new file mode 100644
index 00000000..885009d2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.json
@@ -0,0 +1,233 @@
+{
+ "resourceType": "Parameters",
+ "id": "4aec765d-9ab4-4eb4-923c-b1dc93a3dbb8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.798.75"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "59fcea79-fa84-4509-97b1-5645170a210d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 2
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-05-08"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:13061707"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/394c3b53-4994-4999-b832-61cd8e37d41e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "394c3b53-4994-4999-b832-61cd8e37d41e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "77712610"
+ } ],
+ "text": "Aceterfen"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c307dcf3-1276-47d8-bb4f-c594d521d305",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "711020854"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0340) 561450343"
+ }, {
+ "system": "email",
+ "value": "saphira.schaffarzik@jungbluth.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Am Arenzberg 46b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "46b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Am Arenzberg"
+ } ]
+ } ],
+ "city": "Jessicafeld",
+ "postalCode": "12141",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca535729-c425-49cf-9b50-b3ca6c71c159",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "616562658"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.xml
new file mode 100644
index 00000000..825015bc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_4aec765d/output.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/input.xml
new file mode 100644
index 00000000..904005ae
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.json
new file mode 100644
index 00000000..eaee30f5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "57eabb67-34e5-4d1c-ba94-b6feeeb13f06",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "209.000.000.033.001.16"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "968c2621-692e-49af-99b1-ac15c26e4937",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/d7784ecb-f022-4551-8a86-c5e73c66b0ce"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "d7784ecb-f022-4551-8a86-c5e73c66b0ce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "67209235"
+ } ],
+ "text": "Zytostatika_WF209"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c6ddd30e-665e-4232-b053-70b20b7721fe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "476736714"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0048) 622241522"
+ }, {
+ "system": "email",
+ "value": "ismael.riethmüller@brauer.org"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Kanalstr. 01c" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "01c"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Kanalstr."
+ } ]
+ } ],
+ "city": "Griemburg",
+ "postalCode": "85414",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "39bc08ec-ca09-4fce-8d1d-ecb551505d8e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "874457048"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.xml
new file mode 100644
index 00000000..7568beca
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/009_document_to_sign_57eabb67/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/input.xml
new file mode 100644
index 00000000..879e7ecb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/input.xml
@@ -0,0 +1,402 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.json
new file mode 100644
index 00000000..1f370caa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.json
@@ -0,0 +1,233 @@
+{
+ "resourceType": "Parameters",
+ "id": "355db86f-a843-4f81-b771-6fe0668d29fa",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.799.72"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "aa5284a3-c0cb-4d11-8bda-a61a72e6b2b2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 3
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-08-06"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:13061707"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/08c06ace-03b4-4771-a042-ee8927770cbb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "08c06ace-03b4-4771-a042-ee8927770cbb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "25184159"
+ } ],
+ "text": "Aciamior"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f191451b-0679-4e51-8d00-fed0f156f8eb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "711020854"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0340) 561450343"
+ }, {
+ "system": "email",
+ "value": "saphira.schaffarzik@jungbluth.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Am Arenzberg 46b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "46b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Am Arenzberg"
+ } ]
+ } ],
+ "city": "Jessicafeld",
+ "postalCode": "12141",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d4ad1986-ff6b-4d09-b9b7-8d5fe36fcd1d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "616562658"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.xml
new file mode 100644
index 00000000..276b94ef
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/016_document_to_sign_355db86f/output.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/input.xml
new file mode 100644
index 00000000..54c480a3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/input.xml
@@ -0,0 +1,402 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.json
new file mode 100644
index 00000000..9b32dab5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.json
@@ -0,0 +1,233 @@
+{
+ "resourceType": "Parameters",
+ "id": "2d819774-99b0-4f48-9353-fef2467275c6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.800.69"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "ac5d4170-2c41-496d-a8f3-e4f8132b0ba0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-11-04"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:13061707"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4244e348-651a-4469-83c5-27a30bfd4c8a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4244e348-651a-4469-83c5-27a30bfd4c8a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "29470620"
+ } ],
+ "text": "Aceternin"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "42b40601-6b7f-4ad7-a97b-1daaa983ae63",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "711020854"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Schraßer",
+ "telecom": [ {
+ "system": "phone",
+ "value": "(0340) 561450343"
+ }, {
+ "system": "email",
+ "value": "saphira.schaffarzik@jungbluth.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Am Arenzberg 46b" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "46b"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Am Arenzberg"
+ } ]
+ } ],
+ "city": "Jessicafeld",
+ "postalCode": "12141",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fe2f4158-8ec9-47fc-9ada-159c92dffac7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "616562658"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Dr. Schraßer",
+ "family": "Schraßer",
+ "given": [ "Dr." ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.xml
new file mode 100644
index 00000000..c8c04bc3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/023_document_to_sign_2d819774/output.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/input.xml
new file mode 100644
index 00000000..ae66cfbc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.json
new file mode 100644
index 00000000..75056caa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "0904076e-30f2-4182-8d33-d26029efd25c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.010.12"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "67e06d3f-529c-4198-ba5e-a440cbbc7614",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2022-05-20",
+ "end": "2022-06-30"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a3452998-74a6-4e52-9d69-4b1e4db3434d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a3452998-74a6-4e52-9d69-4b1e4db3434d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "69f0a745-9fad-41ce-a2e0-ba25fc646a7c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a476713f-2c93-4618-90b9-940dbba51235",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.xml
new file mode 100644
index 00000000..eabf93cf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_1_0904076e/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/input.xml
new file mode 100644
index 00000000..79301704
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.json
new file mode 100644
index 00000000..1fdcf1e5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "d27c0e14-97ba-45df-b92f-cea84fc6bfc2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.015.94"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "26fffffe-59e3-43db-a9d6-36da62308c34",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 2
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2022-06-15",
+ "end": "2022-09-30"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/f28ed51f-d7e0-4ac9-933f-79fea240f2cb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f28ed51f-d7e0-4ac9-933f-79fea240f2cb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "291f53f9-ef73-4595-b594-c2250c4d649e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "bf150290-0dda-4e2b-a9e2-f86a816feab8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.xml
new file mode 100644
index 00000000..cb7cd357
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_2_d27c0e14/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/input.xml
new file mode 100644
index 00000000..3a97f315
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.json
new file mode 100644
index 00000000..a7f57a7f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "552a0944-2afb-4238-b4ab-41dc8066e599",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.016.91"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9657a7cb-f603-4d17-97a7-02da9710c39a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 3
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2022-09-15",
+ "end": "2022-12-31"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c9d87165-9f0f-4ee8-a8e6-0bfc10c19a6c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c9d87165-9f0f-4ee8-a8e6-0bfc10c19a6c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2409e0e6-5f1c-4df3-b44b-73fb63a9c601",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "8252a92c-af75-40c5-8ec6-4dccd48bd1cb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.xml
new file mode 100644
index 00000000..7aef6252
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_3_552a0944/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/input.xml
new file mode 100644
index 00000000..a5a20395
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/input.xml
@@ -0,0 +1,407 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.json
new file mode 100644
index 00000000..72f8a59e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.json
@@ -0,0 +1,224 @@
+{
+ "resourceType": "Parameters",
+ "id": "2f23f99c-d297-4e02-9d60-261a226d526e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.017.88"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "c27f70d6-02ee-4860-823f-f8465d7be21a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2022-12-01"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a07db1a9-d7f9-409d-9a23-53f42fd0df8c"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a07db1a9-d7f9-409d-9a23-53f42fd0df8c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "dfc81a1c-71b7-40e1-9669-495a6173c83b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "38d044d2-c90c-4abe-8914-3c44abc0a65f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.xml
new file mode 100644
index 00000000..b0a91a65
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_10_4_2f23f99c/output.xml
@@ -0,0 +1,229 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/input.xml
new file mode 100644
index 00000000..bd9ea61c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/input.xml
@@ -0,0 +1,379 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.json
new file mode 100644
index 00000000..065ef5cf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.json
@@ -0,0 +1,205 @@
+{
+ "resourceType": "Parameters",
+ "id": "1a369537-42d5-42d6-9a8b-b86e244b9d9d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.003.33"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2021-04-03"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "4d5b9c41-5413-423f-85fb-1383af7285de",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/89e534cd-2cce-4853-80c1-8ad70343c6b7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2021-04-03",
+ "dosageInstruction": [ {
+ "text": "1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "89e534cd-2cce-4853-80c1-8ad70343c6b7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03386388"
+ } ],
+ "text": "INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SUP"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6e5a90b3-5d9a-4a0a-ba5e-599d96563301",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "687777700"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Kinderarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "09411234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Yorckstraße 15", "Hinterhaus" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "15"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Yorckstraße"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Hinterhaus"
+ } ]
+ } ],
+ "city": "Regensburg",
+ "postalCode": "93049",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "606290c4-806a-44da-b053-7755a4afe25a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "456456534"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Maximilian Weber",
+ "family": "Weber",
+ "given": [ "Maximilian" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.xml
new file mode 100644
index 00000000..a0e2b6a8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_11_1a369537/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/input.xml
new file mode 100644
index 00000000..c129adfd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.json
new file mode 100644
index 00000000..ae8324ec
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.json
@@ -0,0 +1,217 @@
+{
+ "resourceType": "Parameters",
+ "id": "2aa01d66-e00c-45d2-b137-0df1496b63bf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.011.09"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2021-04-03"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "d6e12ce3-c098-48db-817e-8478da64371b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1d2cb831-4725-4d0e-9b5c-c78539c8cdbd"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2021-04-03",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1d2cb831-4725-4d0e-9b5c-c78539c8cdbd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "04773414"
+ } ],
+ "text": "Doxycyclin AL 200 T, 10 Tabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "578638d6-cca0-498d-a52b-e7a97dc2d403",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "757299999"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Krankenhaus",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0309876543"
+ }, {
+ "system": "email",
+ "value": "krankenhaus@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Wegelystraße 3" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "3"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Wegelystraße"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "978a9bf1-9bf6-4212-acac-28e50103bb03",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "159753527"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Mia Meyer",
+ "family": "Meyer",
+ "given": [ "Mia" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.xml
new file mode 100644
index 00000000..81d0efba
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_12_2aa01d66/output.xml
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/input.xml
new file mode 100644
index 00000000..8fb5aa07
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/input.xml
@@ -0,0 +1,397 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.json
new file mode 100644
index 00000000..79e8856d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.json
@@ -0,0 +1,217 @@
+{
+ "resourceType": "Parameters",
+ "id": "8d85e45c-9e1f-4be4-9f4b-a125db836e94",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.012.06"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2021-04-03"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "52c49cc2-847f-4334-af76-c9fdbbdd8417",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/01ddf388-d0fe-4ecf-9440-e2914b054c53"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2021-04-03",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "01ddf388-d0fe-4ecf-9440-e2914b054c53",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01256262"
+ } ],
+ "text": "Losartan STADA® 100mg 98 Filmtbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "98"
+ } ],
+ "unit": "St",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9522ee61-8166-467c-bb3d-1b7cf4652046",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "320c14f0-bdf2-4198-a846-15bb35676bb6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.xml
new file mode 100644
index 00000000..cbb88850
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_13_8d85e45c/output.xml
@@ -0,0 +1,221 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/input.xml
new file mode 100644
index 00000000..d8d12e55
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/input.xml
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.json
new file mode 100644
index 00000000..44187507
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.json
@@ -0,0 +1,209 @@
+{
+ "resourceType": "Parameters",
+ "id": "63ade791-ba05-4321-b55f-836e377e9f34",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2021-04-03"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9e2fe6c9-1e20-4b21-b001-3f35099ff767",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c09aa07c-d805-4c82-ad7f-b722961975f7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2021-04-03",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c09aa07c-d805-4c82-ad7f-b722961975f7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16332684"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25ml Injektionslösung"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0d99712e-f3c9-401c-8c71-6281d9c93945",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "722222200"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Frauenheilkunde und Geburtshilfe",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030741852963"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9275d86a-4c36-4e14-a9b9-e30990f881d4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "167761816"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Prof. Dr. med Elias Wagner",
+ "family": "Wagner",
+ "given": [ "Elias" ],
+ "prefix": [ "Prof. Dr. med" ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.xml
new file mode 100644
index 00000000..5d0f1b84
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_14_63ade791/output.xml
@@ -0,0 +1,211 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/input.xml
new file mode 100644
index 00000000..1fe9e77f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/input.xml
@@ -0,0 +1,388 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.json
new file mode 100644
index 00000000..ad06e516
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "b8505bd0-b90e-4369-89d1-b1081f3f2575",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.014.97"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2021-04-03"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "8afd7cc5-ab19-464b-a49c-2063d5b35854",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/3bbb9a17-5491-43b8-b35a-9c6c7b4382c0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2021-04-03",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3bbb9a17-5491-43b8-b35a-9c6c7b4382c0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08671219"
+ } ],
+ "text": "Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6dd5dc60-7e29-4747-aae7-cd70b7328097",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2a7209ad-2252-47ce-acae-5b940e0c13ea",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.xml
new file mode 100644
index 00000000..7d38085d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_15_b8505bd0/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/input.xml
new file mode 100644
index 00000000..e6e9fe0a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/input.xml
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.json
new file mode 100644
index 00000000..bbc71f5f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.json
@@ -0,0 +1,203 @@
+{
+ "resourceType": "Parameters",
+ "id": "f40a23d0-0a40-468b-90c0-1f35e275b9ee",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.006.24"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1b7b7e0d-fdf9-4341-b93c-2fa3f5631168",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/fc6deeb1-9868-415c-be83-24b34baea77a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "fc6deeb1-9868-415c-be83-24b34baea77a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00814665"
+ } ],
+ "text": "Januvia® 50 mg 28 Filmtabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "432c2d7b-6c20-4722-ad9c-74ede45b134a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "bf5ddba9-9cf7-44ca-bc60-4b09f8b4041c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.xml
new file mode 100644
index 00000000..fc0295af
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_1_f40a23d0/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/input.xml
new file mode 100644
index 00000000..2a6cb1e2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.json
new file mode 100644
index 00000000..f13515a1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.json
@@ -0,0 +1,210 @@
+{
+ "resourceType": "Parameters",
+ "id": "d5f08b4e-68af-40e4-b732-0745e43255be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.007.21"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "d61dbdc8-c5da-47bb-93c8-5ba7320eca8e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/97e3fb51-ce67-40c1-9c81-11bea0df2b81"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "note": [ {
+ "text": "Patient erneut auf Anwendung der Schmelztabletten hinweisen"
+ } ],
+ "dosageInstruction": [ {
+ "text": "1x täglich"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "97e3fb51-ce67-40c1-9c81-11bea0df2b81",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08850519"
+ } ],
+ "text": "Olanzapin Heumann 20mg 70 Schmelztbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SMT"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "70"
+ } ],
+ "unit": "Stück",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d3fdd5c1-e72e-49f5-898d-a513a4623ff0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "723333300"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Psychiatrie und Psychotherapie",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030369258147"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e2147690-8afb-4361-bac9-1da6c0b64785",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "582369858"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Emilia Becker",
+ "family": "Becker",
+ "given": [ "Emilia" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.xml
new file mode 100644
index 00000000..64c8a653
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_2_d5f08b4e/output.xml
@@ -0,0 +1,214 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/input.xml
new file mode 100644
index 00000000..d48e05fb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.json
new file mode 100644
index 00000000..8178050a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "1ab932b8-1e76-4fdb-b2b3-da1e73f9071e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.034.37"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "075be50a-8321-4276-a0c7-2e6316ff235f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/25d8175b-e23d-48a3-a293-8b323f1233e3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "25d8175b-e23d-48a3-a293-8b323f1233e3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01347970"
+ } ],
+ "text": "Roxythromycin 300 Heumann FTA 7 ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "010ce598-85ff-4a78-9d6c-eacc3b7e73f2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "64c59eff-0204-4f2e-80d0-dac52dc83668",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.xml
new file mode 100644
index 00000000..771a9a60
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_30_1ab932b8/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/input.xml
new file mode 100644
index 00000000..cdbc1dbe
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.json
new file mode 100644
index 00000000..b7fa8306
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "e0cb3cbc-0897-4521-aee4-e19b9fc8a798",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.035.34"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "7593eeea-5fd2-4847-80b3-b927487ea854",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/2fea5845-b2a2-4cd0-9b57-0c92bb9d7d1d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "2fea5845-b2a2-4cd0-9b57-0c92bb9d7d1d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00067808"
+ } ],
+ "text": "Remicade 100MG Pulver PIK 4ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PIK"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "fc570fcf-6b9b-44ba-9b39-6a822c3c7a88",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "8171969d-76e2-484d-8078-655d6a37d70b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.xml
new file mode 100644
index 00000000..a22f68d6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_31_e0cb3cbc/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/input.xml
new file mode 100644
index 00000000..4f967c85
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/input.xml
@@ -0,0 +1,369 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.json
new file mode 100644
index 00000000..a4d22023
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "318de3dd-8398-46b7-bad9-68efabc0a81a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.036.31"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "41912da7-ab5b-4441-b5c0-3b63dff0c48c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1936ab41-358d-4028-ab02-3bc20888c75b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1936ab41-358d-4028-ab02-3bc20888c75b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "07765007"
+ } ],
+ "text": "NEUPRO 8MG/24H PFT 7 ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PFT"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "eb4b02bb-732a-49ce-8705-5e784c07d605",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "5925f69e-a58b-4963-a789-234d8bb52bfe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.xml
new file mode 100644
index 00000000..30ee785a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_32_318de3dd/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/input.xml
new file mode 100644
index 00000000..cd406b7c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/input.xml
@@ -0,0 +1,369 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.json
new file mode 100644
index 00000000..fb8fa3db
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "34200096-900b-4350-9520-ecce26ea72e5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.037.28"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "dae33821-45af-43e0-ab51-1b5c3841fa1b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/555c0449-9690-420e-a438-e20153b5f5dc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "555c0449-9690-420e-a438-e20153b5f5dc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "07765007"
+ } ],
+ "text": "NEUPRO 8MG/24H PFT 7 ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PFT"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5ee1fd05-a4b8-4262-8a08-cc9bfdf413f0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "297e1bad-fca8-4a96-a2af-35ca5d9d275c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.xml
new file mode 100644
index 00000000..0cc68fc8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_33_34200096/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/input.xml
new file mode 100644
index 00000000..df647c81
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.json
new file mode 100644
index 00000000..703725db
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "7fd5f6de-df5f-431a-8ec3-6a788baa0a1f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.038.25"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6105fe88-af99-48bd-98e9-e519d690fe82",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/f6fef33d-cb76-431a-bdc4-10c3ab35b915"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f6fef33d-cb76-431a-bdc4-10c3ab35b915",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01403987"
+ } ],
+ "text": "ABILIFY 5MG TAB Beragena"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a4bcf25a-7f78-4077-a640-8fda97e32d75",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "7d850be1-7cc4-454d-8fd5-97693e8a3788",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.xml
new file mode 100644
index 00000000..306ab05d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_34_7fd5f6de/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/input.xml
new file mode 100644
index 00000000..f55c3324
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.json
new file mode 100644
index 00000000..52a586be
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "f54e7067-dbf9-45d1-9afa-45284e9d701d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.039.22"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "f9d69870-62de-4fbb-9697-f5e615e441f8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/6a286af5-f575-4d39-a51e-262fd0714627"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "6a286af5-f575-4d39-a51e-262fd0714627",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09943571"
+ } ],
+ "text": "Sprycel 100MG FTA 30 ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "bec4183d-20be-46f6-8cb2-f5a15c160dc8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b0bd4d85-f0bf-40d7-b5c2-51f3fc6e2231",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.xml
new file mode 100644
index 00000000..6fcf6dce
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_35_f54e7067/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/input.xml
new file mode 100644
index 00000000..cdd3d80c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/input.xml
@@ -0,0 +1,383 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.json
new file mode 100644
index 00000000..17442dd5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "143798dc-95cc-4de4-832e-08d519a0d142",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.040.19"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "26a6d4dd-66b6-47a6-a1fd-cbed43985938",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/510bdbe1-718a-462e-9599-17b795467ae4"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "510bdbe1-718a-462e-9599-17b795467ae4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09943571"
+ } ],
+ "text": "Sprycel 100MG FTA 30 ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3bdf8d36-f92a-4ed1-adfc-a0fc1323df56",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "96959066-caf4-4331-b2d9-3e70ba30eafe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.xml
new file mode 100644
index 00000000..13da6497
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_36_143798dc/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/input.xml
new file mode 100644
index 00000000..5957f2ed
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.json
new file mode 100644
index 00000000..0e436722
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "78ff5d32-d4d4-4401-8981-75aa78168576",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.041.16"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "5cecb3ce-16f8-4858-a002-820b830ea3b6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4e1cb1cb-9373-4d74-b5f3-35505c83be20"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4e1cb1cb-9373-4d74-b5f3-35505c83be20",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02050605"
+ } ],
+ "text": "Euthyrox 50 TAB 50 ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "97e9f61a-c66f-44b3-b9d4-494f2c7a7c26",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a6d297aa-5a94-4ae2-84c5-a65524881be5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.xml
new file mode 100644
index 00000000..bfc1a46a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_37_78ff5d32/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/input.xml
new file mode 100644
index 00000000..eb387b39
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.json
new file mode 100644
index 00000000..03139bd5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "fb26a25e-4efe-4176-95c7-878e15b052fa",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.042.13"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "904be641-8bd5-477d-8026-32fe24f1979e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/24e5896e-7b1b-4dd1-a6d4-bc0df3c7bf30"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "24e5896e-7b1b-4dd1-a6d4-bc0df3c7bf30",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "17513301"
+ } ],
+ "text": "Priorix docpharm"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PLI"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1187574b-44e5-41b2-b4d5-301dfa7a50c9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4d72eaa4-0288-471d-85c2-bc11a46352ac",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.xml
new file mode 100644
index 00000000..488a4b65
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_38_fb26a25e/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/input.xml
new file mode 100644
index 00000000..038a96ab
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.json
new file mode 100644
index 00000000..14e84b07
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "23d155d0-3bd3-455b-bf4b-d5791c3113cc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.043.10"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "8beeafd6-e28b-4aa8-aec2-19aeba7817c8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/5a37d50c-c4ef-4ea4-99cf-0e991ba221c7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "5a37d50c-c4ef-4ea4-99cf-0e991ba221c7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "11219196"
+ } ],
+ "text": "Abasaglar 100 E/ML KWIKPEN PEN 10x3ml"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9544b4b4-324a-4ffb-a174-80b40cc55d75",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fbda0a3b-7c13-42db-a00c-dbe7f4db3998",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.xml
new file mode 100644
index 00000000..2b3324ea
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_39_23d155d0/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/input.xml
new file mode 100644
index 00000000..99796153
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/input.xml
@@ -0,0 +1,406 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.json
new file mode 100644
index 00000000..9e568eb9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.json
@@ -0,0 +1,220 @@
+{
+ "resourceType": "Parameters",
+ "id": "1f6ef093-d07a-42d1-8896-067e05864b52",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.007.22"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "74cbf0c7-bcf2-4865-a266-12d19fbf5bd6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b1f3fdc9-c8fd-4b1e-a56e-50d29e718343"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b1f3fdc9-c8fd-4b1e-a56e-50d29e718343",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03879429"
+ } ],
+ "text": "Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "RET"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "30"
+ } ],
+ "unit": "Stück",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "900d98c5-1879-4e02-afb2-380a56f51705",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "999999900"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-749999999"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "7f8a16d2-0374-401b-9147-20622e07d4a3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "999999900"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-748382202"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.xml
new file mode 100644
index 00000000..2b905c3a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_3_PKV_1f6ef093/output.xml
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/input.xml
new file mode 100644
index 00000000..80acb153
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.json
new file mode 100644
index 00000000..96535a15
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "ec1c5acd-e0ce-4bef-86ba-c8636816b624",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.044.07"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a97dbe27-6b8e-48e4-9f0d-52fe66ee1f3b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1747ab25-1e9a-4923-98eb-0753a0655421"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1747ab25-1e9a-4923-98eb-0753a0655421",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "09338114"
+ } ],
+ "text": "Neupro 4MG/24H PFT 7ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PFT"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1a964e97-e298-41da-aa92-75ec3a2423b1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f23e13a3-999b-4352-a578-988801994599",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.xml
new file mode 100644
index 00000000..9715ea46
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_40_ec1c5acd/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/input.xml
new file mode 100644
index 00000000..e5a3faac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.json
new file mode 100644
index 00000000..6f37f722
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "2a94fb4b-9f76-406d-baba-ca1aa9a8fc21",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.045.04"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "3d6aa859-fff0-45ab-a18b-9c6ff2951eeb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/dd87a7cf-3b08-42b4-a222-0d44d66f21e9"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "dd87a7cf-3b08-42b4-a222-0d44d66f21e9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "07699339"
+ } ],
+ "text": "Sortis 10MG FTA 50ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1aff98cb-c0e3-4192-a546-0fd4c520d8fb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "feef8a9f-f7d2-4fbf-b0e0-5d9ec8e7e2b5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.xml
new file mode 100644
index 00000000..4afdc2b5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_41_2a94fb4b/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/input.xml
new file mode 100644
index 00000000..6dff2d2a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.json
new file mode 100644
index 00000000..470d821a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "f5df70a6-9252-4f7c-bfe3-9d110d57582f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.046.98"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a2b1b314-8284-4d28-a2d8-769066b638c0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1cc97dac-a126-4ebb-b98f-05916ca88647"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1cc97dac-a126-4ebb-b98f-05916ca88647",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "11164213"
+ } ],
+ "text": "Neupro 4MG/24H PFT 7ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PFT"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3c19abca-4b67-4bd2-9fdd-060279f80dce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "747f222c-326e-41be-8d80-dec070336411",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.xml
new file mode 100644
index 00000000..dd949388
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_42_f5df70a6/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/input.xml
new file mode 100644
index 00000000..82c44910
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/input.xml
@@ -0,0 +1,383 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.json
new file mode 100644
index 00000000..531c9a47
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "22d245d1-2e63-4a7e-ae6e-36d397c15840",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.047.95"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b467c88d-fe5f-4b77-88ba-a4aa545a3047",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/da900f01-8960-4c1a-80ca-7fa4c2a5b49f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "da900f01-8960-4c1a-80ca-7fa4c2a5b49f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08454982"
+ } ],
+ "text": "Pramipexol Hexal 1,05 MG RET 30ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "RET"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f9a2e75e-b063-4fe7-bfe3-1bbf3650228b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "067d00f1-f8b7-4679-9a6f-672f3e477d21",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.xml
new file mode 100644
index 00000000..3bd6d586
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_43_22d245d1/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/input.xml
new file mode 100644
index 00000000..26c5983b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.json
new file mode 100644
index 00000000..c4f54b48
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "bb4ce485-667c-4f6a-bab2-fa2599eaa08b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.048.92"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6375ab4e-dbd6-415d-9987-f5d464e05fb8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c91487ad-9ef3-4d3d-8207-a762d5eb0bc1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c91487ad-9ef3-4d3d-8207-a762d5eb0bc1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00659288"
+ } ],
+ "text": "L Thyrox JOD Hexal 100/100 TAB 50 ST"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "10101d0f-3614-408f-9b10-b9bdc5f0f574",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "01d8ed1a-f6bd-447f-946f-06c69924d5a0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.xml
new file mode 100644
index 00000000..eb595cdb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_45_bb4ce485/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/input.xml
new file mode 100644
index 00000000..27ed0009
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/input.xml
@@ -0,0 +1,369 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.json
new file mode 100644
index 00000000..e06b790a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "68570de1-a052-476e-aea5-abb81a6a571c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.049.89"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "0da8459d-551d-4db6-b1a0-6c0d53d35d70",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/e38bb6fb-af31-49a1-97f9-79f19b269ccf"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e38bb6fb-af31-49a1-97f9-79f19b269ccf",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02850079"
+ } ],
+ "text": "Arcoxia 90 mg 50 FTA"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "712ff189-7f57-40de-9aae-8ffb1ede0f59",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f12785c1-874e-4769-b3c7-274d1c5ad272",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.xml
new file mode 100644
index 00000000..d2af0dee
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_49_68570de1/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/input.xml
new file mode 100644
index 00000000..13d36b8d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/input.xml
@@ -0,0 +1,425 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.json
new file mode 100644
index 00000000..a89d7f52
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.json
@@ -0,0 +1,218 @@
+{
+ "resourceType": "Parameters",
+ "id": "ee308df9-d41d-49b2-baec-1ef9cd80cd22",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.008.18"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "286db490-247e-4b02-b7c4-f607741f533d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/e46fd88b-1de0-4b48-9544-d190115cfac1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "note": [ {
+ "text": "Verwendung ohne Anlegen eines Verbandes"
+ } ],
+ "dosageInstruction": [ {
+ "text": "3mal täglich dünn auftragen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e46fd88b-1de0-4b48-9544-d190115cfac1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02090906"
+ } ],
+ "text": "Fucidine® 20mg/g Creme 15g N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "CRE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "15"
+ } ],
+ "unit": "g",
+ "system": "http://unitsofmeasure.org",
+ "code": "g"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5acf902f-842b-4031-be3a-835162d9bfce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "42420e42-4007-4e6f-ae10-1b769e158fe9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.xml
new file mode 100644
index 00000000..b5811fee
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_4_ee308df9/output.xml
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/input.xml
new file mode 100644
index 00000000..03beca32
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.json
new file mode 100644
index 00000000..096b9f91
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "dff1953b-9846-4e6f-ae68-4cb682411ed9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.054.74"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "817cddfe-42c6-412e-8df7-969d9588b744",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/14803305-f40a-4f62-8a77-443e26088795"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "14803305-f40a-4f62-8a77-443e26088795",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01358117"
+ } ],
+ "text": "TD- Impfstoff"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "ISU"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "344f0122-3195-4120-a0ee-00de1101763d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "482ade72-1e59-433f-b035-0dadf4b97333",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.xml
new file mode 100644
index 00000000..62256e7b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_54_dff1953b/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/input.xml
new file mode 100644
index 00000000..7caf8cd2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.json
new file mode 100644
index 00000000..08fbc25f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.json
@@ -0,0 +1,200 @@
+{
+ "resourceType": "Parameters",
+ "id": "10ddea96-5aaa-458d-b0c4-2d91416d9d35",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.055.71"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "caa97c80-91d3-4b8d-be91-a53e1822fd91",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/7c3a3f9a-3945-49b9-a8da-29582ceda073"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7c3a3f9a-3945-49b9-a8da-29582ceda073",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02223997"
+ } ],
+ "text": "Ramipril 10mg TAB Ratiopharm 50ST TAB"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0059e2dc-9cf5-4f23-a0be-68642abf5db6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "757299999"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Krankenhaus",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0309876543"
+ }, {
+ "system": "email",
+ "value": "krankenhaus@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Wegelystraße 3" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "3"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Wegelystraße"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cc895850-9b54-4331-9159-bf527fc98478",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "159753527"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Mia Meyer",
+ "family": "Meyer",
+ "given": [ "Mia" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.xml
new file mode 100644
index 00000000..1844bed5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_55_10ddea96/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/input.xml
new file mode 100644
index 00000000..ea2a4293
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/input.xml
@@ -0,0 +1,372 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.json
new file mode 100644
index 00000000..8b29ed20
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "bc08cd5c-19e5-41dd-809d-e8757c03fd30",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.056.68"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9b2fee5b-4c9f-4c38-957f-764386861c43",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/d744e44e-8237-44a4-a886-3dbc1057b3b6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "d744e44e-8237-44a4-a886-3dbc1057b3b6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N2"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10203603"
+ } ],
+ "text": "ASPIRIN 500MG UEBERZ TABL, 20 St"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "UTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d8ab807f-5014-4b24-81c5-823035dbcd96",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "842ff6e2-a20e-4512-a82a-7bbf801f4e71",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.xml
new file mode 100644
index 00000000..43d0c9e2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_56_bc08cd5c/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/input.xml
new file mode 100644
index 00000000..00c76fac
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/input.xml
@@ -0,0 +1,377 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.json
new file mode 100644
index 00000000..1c64a6a3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "855147c1-3679-43e0-83c1-6e901418902f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.057.65"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "8b9d311c-b722-4cda-861b-edca6026a4ee",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/f39eab34-819b-43f9-93f5-7e8ad5c146f7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f39eab34-819b-43f9-93f5-7e8ad5c146f7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "15193430"
+ } ],
+ "text": "CERAZETTE 75 Mikrogramm Filmtabletten (6X28St)"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b22e5736-bf35-4f1d-9578-6972675f808a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9875b5b4-e93e-497e-8679-9ee74568c071",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.xml
new file mode 100644
index 00000000..13f91554
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_57_855147c1/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/input.xml
new file mode 100644
index 00000000..712a2c42
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/input.xml
@@ -0,0 +1,475 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.json
new file mode 100644
index 00000000..b5527d49
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.json
@@ -0,0 +1,218 @@
+{
+ "resourceType": "Parameters",
+ "id": "bc27f419-6043-4c14-ac44-eff3cfe24a03",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.004.30"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9a05b1f4-db5b-4679-9771-d692d77e1850",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/9150f626-39d2-4d52-9b98-77066f9a1b5e"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "note": [ {
+ "text": "Bitte auf Anwendung schulen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 2,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9150f626-39d2-4d52-9b98-77066f9a1b5e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00427833"
+ } ],
+ "text": "Viani 50µg/250µg 1 Diskus 60 ED N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "IHP"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Diskus"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "704be6f5-9c44-4931-8ab7-462d127ffe3d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "75f79c09-9022-483a-8f4d-431e974a579d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.xml
new file mode 100644
index 00000000..1e1f2f1a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_60_bc27f419/output.xml
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/input.xml
new file mode 100644
index 00000000..319bffdb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/input.xml
@@ -0,0 +1,445 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.json
new file mode 100644
index 00000000..13512f1f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.json
@@ -0,0 +1,211 @@
+{
+ "resourceType": "Parameters",
+ "id": "5287e4ed-ba56-4248-9cc7-cacad267944a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.004.30"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "012e88be-fea0-49c2-9671-363637dbee6f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/dbb58b29-28f8-45d5-9554-d864cd86a4f3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "note": [ {
+ "text": "Bitte auf Anwendung schulen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 2,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "dbb58b29-28f8-45d5-9554-d864cd86a4f3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00427833"
+ } ],
+ "text": "Viani 50µg/250µg 1 Diskus 60 ED N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "IHP"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Diskus"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "35adb011-8c98-4df8-a7fc-4ad2ba511e68",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "7f4498ca-c2f2-4b1c-8398-b2877264301e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "895268385"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Alexander Fischer",
+ "family": "Fischer",
+ "given": [ "Alexander" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.xml
new file mode 100644
index 00000000..bf8b50c1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_6_5287e4ed/output.xml
@@ -0,0 +1,217 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/input.xml
new file mode 100644
index 00000000..7712cba0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/input.xml
@@ -0,0 +1,368 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.json
new file mode 100644
index 00000000..27b0fd93
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "c806b0e8-28bd-4748-b6be-f236f73e944a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.001.39"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a5bed125-c21e-44d2-9f2a-08f3e2a5fb7b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4f62f150-10e2-4864-bbf3-59d8c79970ac"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4f62f150-10e2-4864-bbf3-59d8c79970ac",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "05392039"
+ } ],
+ "text": "Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "78881547-435f-4849-874d-d400a0a28bdb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "723333300"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Psychiatrie und Psychotherapie",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030369258147"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d59d8057-677a-4ad7-a03a-21b9463f13f7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "582369858"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Emilia Becker",
+ "family": "Becker",
+ "given": [ "Emilia" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.xml
new file mode 100644
index 00000000..475f923f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_7_c806b0e8/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/input.xml
new file mode 100644
index 00000000..8874a825
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/input.xml
@@ -0,0 +1,393 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.json
new file mode 100644
index 00000000..e3ab16cd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.json
@@ -0,0 +1,205 @@
+{
+ "resourceType": "Parameters",
+ "id": "0097fa46-143f-4509-937b-4fe627b85e78",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.002.36"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "22a7d50f-93f8-4975-bf76-00ed4f253e63",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/010e0921-cdd8-46c5-8c1e-c188430f4452"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "text": "2mal tägl. 5ml"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "010e0921-cdd8-46c5-8c1e-c188430f4452",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08585997"
+ } ],
+ "text": "Prospan® Hustensaft 100ml N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FLE"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "809ccb03-2a27-4a1b-a70e-af6528710439",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "687777700"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Kinderarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "09411234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Yorckstraße 15", "Hinterhaus" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "15"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Yorckstraße"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Hinterhaus"
+ } ]
+ } ],
+ "city": "Regensburg",
+ "postalCode": "93049",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "78d6eec5-3445-49e9-9703-7e77b3972391",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "456456534"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Maximilian Weber",
+ "family": "Weber",
+ "given": [ "Maximilian" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.xml
new file mode 100644
index 00000000..185da167
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_8_0097fa46/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/input.xml
new file mode 100644
index 00000000..a864bee8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/input.xml
@@ -0,0 +1,382 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.json
new file mode 100644
index 00000000..81bdbb92
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "45f28601-2a6a-4d91-b6d5-85432c02c6b7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2021-04-03"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "f0483867-64e8-408d-8320-0d1b388df903",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/308f9df4-1a9c-44b8-825f-a35cdbf4d3d0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2021-04-03",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "308f9df4-1a9c-44b8-825f-a35cdbf4d3d0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10259495"
+ } ],
+ "text": "FSME-IMMUN 0,5 ml Erwachsene"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2aaa40f7-50b6-4167-923c-7c07b4398e7c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "00fee32e-dd05-4b57-a84b-b38073f6bb30",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.xml
new file mode 100644
index 00000000..08bbb3e1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/Beispiel_9_45f28601/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/input.xml
new file mode 100644
index 00000000..89a6d911
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/input.xml
@@ -0,0 +1,425 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.json
new file mode 100644
index 00000000..4f38a60d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.json
@@ -0,0 +1,218 @@
+{
+ "resourceType": "Parameters",
+ "id": "9d0a648c-adca-4b93-bfbf-3d16f6a7da09",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.008.18"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1a4cf12b-31d8-4eac-933c-6e7c20be605d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/aef3aea1-692d-498e-a07d-bde0c468f417"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "note": [ {
+ "text": "Verwendung ohne Anlegen eines Verbandes"
+ } ],
+ "dosageInstruction": [ {
+ "text": "3mal täglich dünn auftragen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "aef3aea1-692d-498e-a07d-bde0c468f417",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02090906"
+ } ],
+ "text": "Fucidine® 20mg/g Creme 15g N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "CRE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "15"
+ } ],
+ "unit": "g",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "db2dbdbe-f423-40cd-8c90-a6773232bc5e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "34ff4602-8c6f-4db3-914b-6ac445a50c06",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.xml
new file mode 100644
index 00000000..0a850cbd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_9d0a648c/output.xml
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/input.xml
new file mode 100644
index 00000000..225db1db
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/input.xml
@@ -0,0 +1,425 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.json
new file mode 100644
index 00000000..df70c308
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.json
@@ -0,0 +1,218 @@
+{
+ "resourceType": "Parameters",
+ "id": "d1b3c25f-068d-4240-8bc3-a608392a5621",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.008.18"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9c5f89ea-90e4-4586-ac0d-122e183d8fe4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/aa3ea250-9496-4348-b66f-353fb15bb224"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "note": [ {
+ "text": "Verwendung ohne Anlegen eines Verbandes"
+ } ],
+ "dosageInstruction": [ {
+ "text": "3mal täglich dünn auftragen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "aa3ea250-9496-4348-b66f-353fb15bb224",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02090906"
+ } ],
+ "text": "Fucidine® 20mg/g Creme 15g N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "CRE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "15"
+ } ],
+ "unit": "g",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5e8c84d4-aefb-40fa-b2f9-64069b21fb2c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2e96dce0-19c8-4174-b5b6-9f7eaf8a4c2f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.xml
new file mode 100644
index 00000000..48a09f3d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Arbeitsunfall_VerordnungArzt_d1b3c25f/output.xml
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/input.xml
new file mode 100644
index 00000000..3536b1ea
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.json
new file mode 100644
index 00000000..015c4da6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "73dde0af-c487-4b29-a466-514ba161e5bd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9c3c4ac3-e258-476c-b71a-6f639ad6fd0d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c190fda9-ac5b-4d99-9688-e1ae3ba57df9"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c190fda9-ac5b-4d99-9688-e1ae3ba57df9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10259495"
+ } ],
+ "text": "FSME-IMMUN 0,5 ml Erwachsene"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b718cea3-86c6-4810-a082-d3e0415a6371",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "5d608ead-cf47-4655-ae24-220c49812c91",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.xml
new file mode 100644
index 00000000..209bfc2f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_73dde0af/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/input.xml
new file mode 100644
index 00000000..a4958293
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.json
new file mode 100644
index 00000000..04261f43
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "8b4bfb2c-fb23-4651-8ad3-2aa7b3d7dda9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "8952a0eb-c474-4bd3-a623-b62d7dff1aa7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/3a7c95dd-fac5-4b14-9f0b-67b7a0630abb"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3a7c95dd-fac5-4b14-9f0b-67b7a0630abb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10259495"
+ } ],
+ "text": "FSME-IMMUN 0,5 ml Erwachsene"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d82695ca-9f96-4db6-809f-ebc797618662",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ee393144-cf10-4cf7-8a17-d08b50278b5a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.xml
new file mode 100644
index 00000000..be068704
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V1_VerordnungArzt_8b4bfb2c/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/input.xml
new file mode 100644
index 00000000..3536b1ea
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.json
new file mode 100644
index 00000000..d9f3f2c5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "56af13b8-45ff-48c1-9e83-00910b9f7d4c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9218bfe3-6eaa-448d-a830-53971de6bafe",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/d398dd83-f752-49a2-ba93-7d8a17ceacfc"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "d398dd83-f752-49a2-ba93-7d8a17ceacfc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10259495"
+ } ],
+ "text": "FSME-IMMUN 0,5 ml Erwachsene"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "bea76f01-60c0-45f8-8b02-6d6c66bdd19b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d7be3d89-185a-4026-8311-c2787ecf4954",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.xml
new file mode 100644
index 00000000..9f4d3b1f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_56af13b8/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/input.xml
new file mode 100644
index 00000000..a4958293
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/input.xml
@@ -0,0 +1,373 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.json
new file mode 100644
index 00000000..3358978a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "be8e2e2c-728c-4f71-a387-9342ce684e65",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.009.15"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "0c6bf061-9e73-4106-8efb-1bbcf0a0ca62",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/355911fa-86fc-4d78-b30a-80bdc7fa544b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "355911fa-86fc-4d78-b30a-80bdc7fa544b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": true
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "10259495"
+ } ],
+ "text": "FSME-IMMUN 0,5 ml Erwachsene"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FER"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "88e35a7d-a9f6-490c-b248-4bd446900334",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "1f9be95e-c049-4750-a7fd-47926b04b36c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.xml
new file mode 100644
index 00000000..1f50cbcd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Impfstoff_V2_VerordnungArzt_be8e2e2c/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/input.xml
new file mode 100644
index 00000000..3a9c71be
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/input.xml
@@ -0,0 +1,386 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.json
new file mode 100644
index 00000000..fbfb0ae7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.json
@@ -0,0 +1,211 @@
+{
+ "resourceType": "Parameters",
+ "id": "11769c6a-0e26-4f4f-8e6f-48f29e677d3d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b59848bc-d686-40d7-8f13-b338be73ec45",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1659a1f0-70e1-4c15-88cd-2a4855888da7"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1659a1f0-70e1-4c15-88cd-2a4855888da7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16332684"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25ml Injektionslösung"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "af805909-4544-4b8d-8264-417dc8591b0a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "722222200"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Frauenheilkunde und Geburtshilfe",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030741852963"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6463498b-9f24-4ff6-a531-3ca458bcb04f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "167761816"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Prof. Dr. med Elias Wagner",
+ "family": "Wagner",
+ "given": [ "Elias" ],
+ "prefix": [ "Prof. Dr. med" ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.xml
new file mode 100644
index 00000000..e7e8d1fa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_11769c6a/output.xml
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/input.xml
new file mode 100644
index 00000000..c626b585
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/input.xml
@@ -0,0 +1,386 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.json
new file mode 100644
index 00000000..846ee600
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.json
@@ -0,0 +1,211 @@
+{
+ "resourceType": "Parameters",
+ "id": "7479a5b1-6931-4bb5-b3cb-d5f6a8aa017a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "9e12b2e2-40d8-42f7-a8ea-0d497f8adb8d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4d14f382-08af-4160-8f7e-ecf3aa79ad5b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4d14f382-08af-4160-8f7e-ecf3aa79ad5b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16332684"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25ml Injektionslösung"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24ddaf3f-9d6b-4960-8e89-9b009b9e7981",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "722222200"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Frauenheilkunde und Geburtshilfe",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030741852963"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2fef023d-4489-4580-85e9-7dfca3541e68",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "167761816"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Prof. Dr. med Elias Wagner",
+ "family": "Wagner",
+ "given": [ "Elias" ],
+ "prefix": [ "Prof. Dr. med" ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.xml
new file mode 100644
index 00000000..aa369114
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V1_VerordnungArzt_7479a5b1/output.xml
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/input.xml
new file mode 100644
index 00000000..c626b585
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/input.xml
@@ -0,0 +1,386 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.json
new file mode 100644
index 00000000..2804fbe9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.json
@@ -0,0 +1,211 @@
+{
+ "resourceType": "Parameters",
+ "id": "4132b49d-cf58-426c-bb95-770503317e75",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b92728fd-3321-4d05-b6aa-dfd55c3c8ad9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/0b02e9bd-78af-4d50-a6c5-9f1026c18bd4"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "0b02e9bd-78af-4d50-a6c5-9f1026c18bd4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16332684"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25ml Injektionslösung"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9715acf1-2e92-461e-aa08-0ad678845376",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "722222200"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Frauenheilkunde und Geburtshilfe",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030741852963"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "731f3b79-6cad-4f1a-ba4e-9eb9b330bd15",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "167761816"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Prof. Dr. med Elias Wagner",
+ "family": "Wagner",
+ "given": [ "Elias" ],
+ "prefix": [ "Prof. Dr. med" ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.xml
new file mode 100644
index 00000000..a6d80a1e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_4132b49d/output.xml
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/input.xml
new file mode 100644
index 00000000..3a9c71be
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/input.xml
@@ -0,0 +1,386 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.json
new file mode 100644
index 00000000..37d149e4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.json
@@ -0,0 +1,211 @@
+{
+ "resourceType": "Parameters",
+ "id": "dc3ee448-09b1-420b-b4f1-53de46fa9fd2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.013.03"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "087c7019-6440-40d9-8a6e-bdf9a1246961",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/f2b3da0b-ce19-4dbd-b18f-9ca5009db106"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "f2b3da0b-ce19-4dbd-b18f-9ca5009db106",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "16332684"
+ } ],
+ "text": "GONAL-f 150 I.E./0,25ml Injektionslösung"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "PEN"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "St",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3e074fe1-7f41-4d20-9ded-bd7a867ac733",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "722222200"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Frauenheilkunde und Geburtshilfe",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030741852963"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fbf9da40-1af3-4f56-84e5-8aa8ac2cfda8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "167761816"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Prof. Dr. med Elias Wagner",
+ "family": "Wagner",
+ "given": [ "Elias" ],
+ "prefix": [ "Prof. Dr. med" ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.xml
new file mode 100644
index 00000000..0bdb15a3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_KB_V2_VerordnungArzt_dc3ee448/output.xml
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/input.xml
new file mode 100644
index 00000000..c2e6e1d6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.json
new file mode 100644
index 00000000..b1c512fa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "14b48655-461e-43bc-895c-a4dd9d6073de",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.010.12"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "663e1225-458d-4bd5-8fee-918b2be422f6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2023-07-27",
+ "end": "2023-08-31"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/7a7074f6-4a42-47fa-a225-4a5467fb64d1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "7a7074f6-4a42-47fa-a225-4a5467fb64d1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "cb85e303-7567-4c2b-950f-2d9f580e167b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6b885b4c-7b7a-4f42-a1f0-50c731b93bc3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.xml
new file mode 100644
index 00000000..6182c53d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_14b48655/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/input.xml
new file mode 100644
index 00000000..6fab64ce
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.json
new file mode 100644
index 00000000..051c953b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "ed826199-f544-49eb-a71c-27326542a58e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.010.12"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a237a907-a586-457e-b0df-59bb9f8efa58",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 1
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2024-11-27",
+ "end": "2024-12-31"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/eea8d81a-51a7-4995-b3a1-0cfaecd36275"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "eea8d81a-51a7-4995-b3a1-0cfaecd36275",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "45cb3821-7ed8-4b9b-86a7-bc5d9a5371ed",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "97e17d3e-e311-4c09-a552-b71dbab6cc60",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.xml
new file mode 100644
index 00000000..e9fc0518
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV1_VerordnungArzt_ed826199/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/input.xml
new file mode 100644
index 00000000..d428c22c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.json
new file mode 100644
index 00000000..c454e902
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "301a581a-51e9-48a2-ba79-a57d67b45230",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.015.94"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "e69433e6-49ac-4cec-978e-0ede8ba2a07b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 2
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2025-01-15",
+ "end": "2025-02-28"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/ba51a99f-0ee0-412f-8fcb-cd43722652f3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ba51a99f-0ee0-412f-8fcb-cd43722652f3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "96b1fbc8-4283-4f47-b198-64cb45362fba",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "41269acb-0019-4765-b361-246e02c1674f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.xml
new file mode 100644
index 00000000..b822301c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_301a581a/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/input.xml
new file mode 100644
index 00000000..c36e2813
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.json
new file mode 100644
index 00000000..3826329a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "720f0d95-bc1c-4e48-97f9-a28d1932b7ea",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.015.94"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "793e4588-c1fc-4f01-80a9-1314ad257e11",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 2
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2023-09-15",
+ "end": "2023-10-30"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/ece20aa1-0d0a-4759-9ac8-9120293d3993"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ece20aa1-0d0a-4759-9ac8-9120293d3993",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b1116917-f161-4a70-a678-b5cabe33f8b3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99e2c5e1-b395-4e9f-9c38-386afb747576",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.xml
new file mode 100644
index 00000000..1278bdd0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV2_VerordnungArzt_720f0d95/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/input.xml
new file mode 100644
index 00000000..91b01984
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.json
new file mode 100644
index 00000000..11feacbf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "4474f7d6-5444-434c-9133-5ecbe67eef0a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.016.91"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "c06ea8cc-667a-41c2-915b-f56ba00611cb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 3
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2025-03-15",
+ "end": "2025-04-30"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/3d13d82c-1d79-4a9b-be4e-5071ecce016a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "3d13d82c-1d79-4a9b-be4e-5071ecce016a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0cb0f545-bb10-4234-beda-4e408f872596",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b729b5b6-1e95-4cee-abee-3bd75cbd2090",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.xml
new file mode 100644
index 00000000..61232dc3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_4474f7d6/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/input.xml
new file mode 100644
index 00000000..778caddc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.json
new file mode 100644
index 00000000..28c102d1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "57bd7756-1ece-415e-9c5b-d3e56f445461",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.016.91"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "0695de7f-9a44-4dfa-ab77-b82498e08be5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 3
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2023-10-15",
+ "end": "2023-12-31"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/283ea6c0-eef5-47d2-90e8-99fc218b8094"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "283ea6c0-eef5-47d2-90e8-99fc218b8094",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a8e501f5-7874-4ffa-b8b8-586c39f711d4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f167ddb5-18e0-4746-9762-1b9083ce847d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.xml
new file mode 100644
index 00000000..a7f095d8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV3_VerordnungArzt_57bd7756/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/input.xml
new file mode 100644
index 00000000..ba394bca
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.json
new file mode 100644
index 00000000..241aa5c0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "438bae6b-3e3f-4be2-96fd-ac9f2067241f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.017.88"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "2eeef5dd-5faa-4058-9b0c-5e687f33b1c4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2025-04-01",
+ "end": "2025-07-31"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/545f553f-daa9-41c9-b982-03fa577c3947"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "545f553f-daa9-41c9-b982-03fa577c3947",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6956de1b-9675-42cc-babe-075502d05235",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4284b7ea-8ec3-4ae0-88e8-1cf53111dbc1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.xml
new file mode 100644
index 00000000..d2212b25
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_438bae6b/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/input.xml
new file mode 100644
index 00000000..b57876fc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/input.xml
@@ -0,0 +1,408 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.json
new file mode 100644
index 00000000..ec9201ad
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.json
@@ -0,0 +1,225 @@
+{
+ "resourceType": "Parameters",
+ "id": "94137fee-aa62-4d07-97e8-c1ec7d5e9658",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.017.88"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "615454de-aa05-4ede-b509-8962eff89b4f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": true
+ }, {
+ "url": "counter",
+ "valueRatio": {
+ "numerator": {
+ "value": 4
+ },
+ "denominator": {
+ "value": 4
+ }
+ }
+ }, {
+ "url": "period",
+ "valuePeriod": {
+ "start": "2023-12-01",
+ "end": "2024-03-31"
+ }
+ }, {
+ "url": "id",
+ "valueIdentifier": {
+ "system": "urn:ietf:rfc:3986",
+ "value": "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0"
+ }
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/255accfa-31d9-409b-975c-19d6e4699f83"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "255accfa-31d9-409b-975c-19d6e4699f83",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02532741"
+ } ],
+ "text": "L-Thyroxin Henning 75 100 Tbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ad25fcd8-37a3-4ded-9f30-a5969b4fac98",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f73771ca-8a49-427e-a4b8-8dec35f072ce",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "987654423"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.xml
new file mode 100644
index 00000000..68bde5e1
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_MV4_VerordnungArzt_94137fee/output.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/input.xml
new file mode 100644
index 00000000..6548c352
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/input.xml
@@ -0,0 +1,379 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.json
new file mode 100644
index 00000000..5366d5a0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.json
@@ -0,0 +1,205 @@
+{
+ "resourceType": "Parameters",
+ "id": "16489c9e-6b35-457f-a96d-22a1710c6d43",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.003.33"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1380f9f4-5e2e-402c-a7c7-c3693053df45",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c4623257-7704-4589-ab4d-3ded865cc764"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c4623257-7704-4589-ab4d-3ded865cc764",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03386388"
+ } ],
+ "text": "INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SUP"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e0339db0-0555-4e11-8ea5-d22c3c0a452b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "687777700"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Kinderarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "09411234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Yorckstraße 15", "Hinterhaus" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "15"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Yorckstraße"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Hinterhaus"
+ } ]
+ } ],
+ "city": "Regensburg",
+ "postalCode": "93049",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2eb4dc24-3981-4f34-80da-d1ccc8ea0ddb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "456456534"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Maximilian Weber",
+ "family": "Weber",
+ "given": [ "Maximilian" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.xml
new file mode 100644
index 00000000..71c21b21
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_16489c9e/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/input.xml
new file mode 100644
index 00000000..a077c818
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/input.xml
@@ -0,0 +1,379 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.json
new file mode 100644
index 00000000..b277136e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.json
@@ -0,0 +1,205 @@
+{
+ "resourceType": "Parameters",
+ "id": "6442b691-0d95-460c-a86f-a2f7d541d527",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.003.33"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "23abac5b-f4c4-4cac-b64b-8b1bb7300617",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/70c0982c-4694-4057-add3-6cc9dc972d1b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1x, im Bedarfsfall noch 1x nach 1h (max. 3 Stk in 48 h)"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "70c0982c-4694-4057-add3-6cc9dc972d1b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03386388"
+ } ],
+ "text": "INFECTOCORTIKRUPP® Zäpfchen 100 mg 3 Supp. N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SUP"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "015d7024-a4e6-4de6-b903-965a0d75e131",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "687777700"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Kinderarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "09411234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Yorckstraße 15", "Hinterhaus" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "15"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Yorckstraße"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Hinterhaus"
+ } ]
+ } ],
+ "city": "Regensburg",
+ "postalCode": "93049",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6948599f-2fba-4af2-9200-2417d68dd922",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "456456534"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Maximilian Weber",
+ "family": "Weber",
+ "given": [ "Maximilian" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.xml
new file mode 100644
index 00000000..66d0f276
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Noctu_VerordnungArzt_6442b691/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/input.xml
new file mode 100644
index 00000000..8f4a2acf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/input.xml
@@ -0,0 +1,414 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.json
new file mode 100644
index 00000000..e1835ce3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.json
@@ -0,0 +1,213 @@
+{
+ "resourceType": "Parameters",
+ "id": "08de8f6d-1259-4ff0-82cd-288c53ee531e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.764.737.300.50"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-30"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "6c3c2936-60fc-4e97-b26f-8d3db63d4152",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/ba0649bc-99d8-45da-b8d6-f0fde713ae43"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-30",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "ba0649bc-99d8-45da-b8d6-f0fde713ae43",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "12"
+ } ],
+ "unit": "TAB",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ea327e77-cb05-4d3e-8a82-b34a57d1c892",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "031234567"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis Dr. Topp-Glücklich",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Musterstr. 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Musterstr."
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e4629638-ef13-4cf8-af0d-a07c744811d4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "838382202"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Hans Topp-Glücklich",
+ "family": "Topp-Glücklich",
+ "given": [ "Hans" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.xml
new file mode 100644
index 00000000..39fe1754
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_08de8f6d/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/input.xml
new file mode 100644
index 00000000..572383de
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/input.xml
@@ -0,0 +1,414 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.json
new file mode 100644
index 00000000..c9ae7f1c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.json
@@ -0,0 +1,213 @@
+{
+ "resourceType": "Parameters",
+ "id": "9123419b-ff7c-45d8-89a0-07b4aa3d12d7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.764.737.300.50"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-30"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "d5c6a4b6-e703-4c43-82a5-fe2037bf07d1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/69ed06c2-3956-4159-9313-a5a5eb7b9582"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-30",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "69ed06c2-3956-4159-9313-a5a5eb7b9582",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "12"
+ } ],
+ "unit": "TAB",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "529eb19c-f2a5-4ea0-866e-3242050d6e2d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "031234567"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis Dr. Topp-Glücklich",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Musterstr. 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Musterstr."
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d4c0e15d-ea8e-4b14-bf86-db5183b4e70d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "838382202"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Hans Topp-Glücklich",
+ "family": "Topp-Glücklich",
+ "given": [ "Hans" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.xml
new file mode 100644
index 00000000..59a87452
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr1_VerordnungArzt_9123419b/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/input.xml
new file mode 100644
index 00000000..4a5b9fae
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/input.xml
@@ -0,0 +1,368 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.json
new file mode 100644
index 00000000..212c79ea
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "bcffbf63-62f9-40e0-83f7-f88edde3b449",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.001.39"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "581fbfd2-f1b2-4b6a-a3e1-6a551123ede4",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/8028db42-8b4c-4136-bd0e-485be7995663"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8028db42-8b4c-4136-bd0e-485be7995663",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "05392039"
+ } ],
+ "text": "Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "61946651-9b89-481f-a217-9a0db52814d8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "723333300"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Psychiatrie und Psychotherapie",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030369258147"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "40de9302-3504-46cd-bf68-6fae4501f07a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "582369858"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Emilia Becker",
+ "family": "Becker",
+ "given": [ "Emilia" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.xml
new file mode 100644
index 00000000..4cdd6c65
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_bcffbf63/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/input.xml
new file mode 100644
index 00000000..d6e768b7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/input.xml
@@ -0,0 +1,368 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.json
new file mode 100644
index 00000000..01df3b51
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.json
@@ -0,0 +1,190 @@
+{
+ "resourceType": "Parameters",
+ "id": "d639673c-384b-4e54-bc9e-154b84773569",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.001.39"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "7a04ade6-1bea-47f0-8c9f-79d7627749db",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/aa28ef9e-5241-4732-8271-beca0ef0028a"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "aa28ef9e-5241-4732-8271-beca0ef0028a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "05392039"
+ } ],
+ "text": "Venlafaxin - 1 A Pharma® 75mg 100 Tabl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11494b10-c4da-42ef-9e28-901d7884e5fc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "723333300"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Psychiatrie und Psychotherapie",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030369258147"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4c1c5eee-af30-4fd2-a94a-4249223ef120",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "582369858"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Emilia Becker",
+ "family": "Becker",
+ "given": [ "Emilia" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.xml
new file mode 100644
index 00000000..bdc7ee5b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr2_VerordnungArzt_d639673c/output.xml
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/input.xml
new file mode 100644
index 00000000..fad486a6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/input.xml
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.json
new file mode 100644
index 00000000..c95a1ed5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.json
@@ -0,0 +1,203 @@
+{
+ "resourceType": "Parameters",
+ "id": "9ac0942e-124b-4849-8d89-6640c76476ac",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.006.24"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b0e7ff23-8049-4b1a-969a-9d1e954a3e11",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/31b2df59-cedf-427c-9acd-18e545739de8"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "31b2df59-cedf-427c-9acd-18e545739de8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00814665"
+ } ],
+ "text": "Januvia® 50 mg 28 Filmtabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3893d5a5-10b0-4794-9db5-1db1b9d459f8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6d02036f-e243-49a0-bdcd-c2fa62553153",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.xml
new file mode 100644
index 00000000..1359448e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_9ac0942e/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/input.xml
new file mode 100644
index 00000000..d94ab18f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/input.xml
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.json
new file mode 100644
index 00000000..84646800
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.json
@@ -0,0 +1,203 @@
+{
+ "resourceType": "Parameters",
+ "id": "b2afa612-7a82-4a97-b72e-4eea2b555fa1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.006.24"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "f1b3b183-735c-41ad-a625-e2709f971887",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/1e36ed4c-ba3b-4a28-8695-7b31eaee81c2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "1e36ed4c-ba3b-4a28-8695-7b31eaee81c2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00814665"
+ } ],
+ "text": "Januvia® 50 mg 28 Filmtabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0af9b8e5-2a04-4275-a3f4-24f5ff72a1fb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "da25a87a-da50-45ea-bf49-090f63ffe74f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.xml
new file mode 100644
index 00000000..6d36cb6c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr3_VerordnungArzt_b2afa612/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/input.xml
new file mode 100644
index 00000000..f911c5dd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/input.xml
@@ -0,0 +1,393 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.json
new file mode 100644
index 00000000..03966c32
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.json
@@ -0,0 +1,205 @@
+{
+ "resourceType": "Parameters",
+ "id": "c2530fad-4c53-43dd-9593-a6e3f7b44ce6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.002.36"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "154463cf-ed19-4fd6-8ba5-4fa3836ed9f7",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/16d16dc2-62c5-47ff-8296-258f451be8f5"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "2mal tägl. 5ml"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "16d16dc2-62c5-47ff-8296-258f451be8f5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08585997"
+ } ],
+ "text": "Prospan® Hustensaft 100ml N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FLE"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6aa2b709-0cff-4f0d-b25e-e73d8569280f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "687777700"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Kinderarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "09411234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Yorckstraße 15", "Hinterhaus" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "15"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Yorckstraße"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Hinterhaus"
+ } ]
+ } ],
+ "city": "Regensburg",
+ "postalCode": "93049",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "33a09223-bc44-40c8-87d5-979f32fdd3b8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "456456534"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Maximilian Weber",
+ "family": "Weber",
+ "given": [ "Maximilian" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.xml
new file mode 100644
index 00000000..214a545d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_c2530fad/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/input.xml
new file mode 100644
index 00000000..71aea3cc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/input.xml
@@ -0,0 +1,393 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.json
new file mode 100644
index 00000000..a5986b20
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.json
@@ -0,0 +1,205 @@
+{
+ "resourceType": "Parameters",
+ "id": "d3c47fcf-0576-4d6e-8df5-b143dee4d0ef",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.002.36"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "912badcb-b9c6-4a38-b2c4-f9f48610d8eb",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/e3e97424-0d1b-48e7-a000-f3a7f73c3842"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "2mal tägl. 5ml"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e3e97424-0d1b-48e7-a000-f3a7f73c3842",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08585997"
+ } ],
+ "text": "Prospan® Hustensaft 100ml N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FLE"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2e8d2a32-c675-4cfd-8a6f-d7808f31235d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "687777700"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Kinderarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "09411234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Yorckstraße 15", "Hinterhaus" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "15"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Yorckstraße"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Hinterhaus"
+ } ]
+ } ],
+ "city": "Regensburg",
+ "postalCode": "93049",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "db9c8b41-eb2e-48ce-9c40-9b922c41f4a2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "456456534"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Maximilian Weber",
+ "family": "Weber",
+ "given": [ "Maximilian" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.xml
new file mode 100644
index 00000000..52045bef
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr4_VerordnungArzt_d3c47fcf/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/input.xml
new file mode 100644
index 00000000..7a7c53c8
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/input.xml
@@ -0,0 +1,388 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.json
new file mode 100644
index 00000000..80a103d2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "1dac39db-52e7-4578-aaa1-9d72fa1aa20a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.014.97"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "b1cb701f-a348-4cab-8810-e914fc2cb076",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/900443e1-fd41-45fc-885c-f052da28e297"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "900443e1-fd41-45fc-885c-f052da28e297",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08671219"
+ } ],
+ "text": "Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5f822281-9003-4c54-96e0-742c1410a3c9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "93bff49c-ddeb-48f3-86a2-7056c82f31be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.xml
new file mode 100644
index 00000000..6bd2b399
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_1dac39db/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/input.xml
new file mode 100644
index 00000000..b708ae71
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/input.xml
@@ -0,0 +1,388 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.json
new file mode 100644
index 00000000..dbcdd4cf
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.json
@@ -0,0 +1,198 @@
+{
+ "resourceType": "Parameters",
+ "id": "d94a9be1-33bd-45c7-ba2b-95a6398d28a8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.014.97"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "3b66bd58-0de9-41a9-ae02-5d5876971ede",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/6d77b3a5-9acf-4d32-b089-7ed518e5bd22"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "6d77b3a5-9acf-4d32-b089-7ed518e5bd22",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08671219"
+ } ],
+ "text": "Aciclovir 800 - 1 A Pharma® 35 Tbl. N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f201c7c4-ec79-4a19-9545-ae54a2d3e053",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2d3e40a2-ee64-4811-9239-4518b509f753",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.xml
new file mode 100644
index 00000000..542702b3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr5_VerordnungArzt_d94a9be1/output.xml
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/input.xml
new file mode 100644
index 00000000..be901635
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.json
new file mode 100644
index 00000000..dac6acef
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.json
@@ -0,0 +1,217 @@
+{
+ "resourceType": "Parameters",
+ "id": "1971398c-275f-4eff-9192-55cadaacf777",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.011.09"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "4e5f68a9-9809-403a-9021-500e8708a76e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/8ab8483e-8c22-48f2-a208-8407a0d69288"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "8ab8483e-8c22-48f2-a208-8407a0d69288",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "04773414"
+ } ],
+ "text": "Doxycyclin AL 200 T, 10 Tabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "afeb6388-5050-4db6-aff7-40428abc6865",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "757299999"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Krankenhaus",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0309876543"
+ }, {
+ "system": "email",
+ "value": "krankenhaus@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Wegelystraße 3" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "3"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Wegelystraße"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "82e9bc97-ed9c-48e2-918b-18e87230ca84",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "159753527"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Mia Meyer",
+ "family": "Meyer",
+ "given": [ "Mia" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.xml
new file mode 100644
index 00000000..ed92f74c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_1971398c/output.xml
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/input.xml
new file mode 100644
index 00000000..1cb6adf7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.json
new file mode 100644
index 00000000..018e776f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.json
@@ -0,0 +1,217 @@
+{
+ "resourceType": "Parameters",
+ "id": "548c78d1-1068-4301-89c4-a2034d055b7f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.011.09"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "f1de6def-c122-4322-a127-7d8d39c4e734",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/bcc076a9-5c85-4e11-899e-81c7a4a65bd2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "bcc076a9-5c85-4e11-899e-81c7a4a65bd2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "04773414"
+ } ],
+ "text": "Doxycyclin AL 200 T, 10 Tabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Tabletten",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5c9a90b7-9ad3-4fdf-bc95-6f3fe36fcf40",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "757299999"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Krankenhaus",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0309876543"
+ }, {
+ "system": "email",
+ "value": "krankenhaus@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Wegelystraße 3" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "3"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Wegelystraße"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "eb9d1dc1-65a0-44ab-b67e-55db3fffed57",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "159753527"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Mia Meyer",
+ "family": "Meyer",
+ "given": [ "Mia" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.xml
new file mode 100644
index 00000000..b30c98b9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr6_VerordnungArzt_548c78d1/output.xml
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/input.xml
new file mode 100644
index 00000000..81ce31ae
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/input.xml
@@ -0,0 +1,447 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.json
new file mode 100644
index 00000000..3d555efa
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.json
@@ -0,0 +1,213 @@
+{
+ "resourceType": "Parameters",
+ "id": "50c3377b-8037-4226-b8e4-320174af6d68",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.004.30"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1c6049a1-efaa-4bad-bce7-785ee970f0a9",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/9211edba-7f4d-4937-961d-17b1868e5c08"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "note": [ {
+ "text": "Bitte auf Anwendung schulen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 2,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "9211edba-7f4d-4937-961d-17b1868e5c08",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00427833"
+ } ],
+ "text": "Viani 50µg/250µg 1 Diskus 60 ED N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "IHP"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Diskus",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5b0c2083-3b0e-4914-95e1-6aa95973dc80",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e2d55abe-5602-4a19-916d-ddfc7e353b15",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "895268385"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Alexander Fischer",
+ "family": "Fischer",
+ "given": [ "Alexander" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.xml
new file mode 100644
index 00000000..f9ae3a2d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_50c3377b/output.xml
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/input.xml
new file mode 100644
index 00000000..98e87b22
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/input.xml
@@ -0,0 +1,447 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.json
new file mode 100644
index 00000000..d0015232
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.json
@@ -0,0 +1,213 @@
+{
+ "resourceType": "Parameters",
+ "id": "d70e53f9-9241-44aa-9921-8b203020fc9f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.004.30"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "58eebd38-980a-4b87-bdb4-62dd77d40d25",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/e352ae4d-cd7c-4cca-85fb-3cb4c36eae84"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "note": [ {
+ "text": "Bitte auf Anwendung schulen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 2,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "e352ae4d-cd7c-4cca-85fb-3cb4c36eae84",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00427833"
+ } ],
+ "text": "Viani 50µg/250µg 1 Diskus 60 ED N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "IHP"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Diskus",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f67a2534-7bb3-400f-bc0a-6ac2b8ee88c1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "02f4707f-3176-45c7-bf97-d27240882b61",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "895268385"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Alexander Fischer",
+ "family": "Fischer",
+ "given": [ "Alexander" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.xml
new file mode 100644
index 00000000..b4721e73
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr7_VerordnungArzt_d70e53f9/output.xml
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/input.xml
new file mode 100644
index 00000000..48b29002
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/input.xml
@@ -0,0 +1,397 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.json
new file mode 100644
index 00000000..32e2124a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.json
@@ -0,0 +1,217 @@
+{
+ "resourceType": "Parameters",
+ "id": "42486c99-638e-421d-adb1-ae11bf44f00b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.012.06"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "5890193d-fa3d-42bf-ad38-ee305a286972",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4a7d3061-b3c8-43c3-9f1f-e924a82a8aa3"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4a7d3061-b3c8-43c3-9f1f-e924a82a8aa3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01256262"
+ } ],
+ "text": "Losartan STADA® 100mg 98 Filmtbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "98"
+ } ],
+ "unit": "St",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "20b3c883-9090-4c9c-9a42-7f7340419e92",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "51ac5bd2-4467-44da-85ea-eeb1a2fe7a59",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.xml
new file mode 100644
index 00000000..0257ad31
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_42486c99/output.xml
@@ -0,0 +1,221 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/input.xml
new file mode 100644
index 00000000..ed0f8757
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/input.xml
@@ -0,0 +1,397 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.json
new file mode 100644
index 00000000..aaaabcde
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.json
@@ -0,0 +1,217 @@
+{
+ "resourceType": "Parameters",
+ "id": "b6596f2e-76e2-422e-97f7-24f98b27ac4d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.012.06"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "d24bd5d7-ce88-4f53-acaa-c971545494c2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/4f63b2d9-0465-4317-bb3a-77d2ba98add8"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "4f63b2d9-0465-4317-bb3a-77d2ba98add8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "01256262"
+ } ],
+ "text": "Losartan STADA® 100mg 98 Filmtbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "98"
+ } ],
+ "unit": "St",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f5667b07-c382-49f8-b741-90c9310aaae3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "1a38b313-c8c2-43fd-b426-ad533b0f2196",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.xml
new file mode 100644
index 00000000..dc654de7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Nr8_VerordnungArzt_b6596f2e/output.xml
@@ -0,0 +1,221 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/input.xml
new file mode 100644
index 00000000..ce99c38f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/input.xml
@@ -0,0 +1,428 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.json
new file mode 100644
index 00000000..48791bf6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "993f87d3-0258-442f-851f-7c9e53d2ec87",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.005.27"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "3dddb8ef-f0de-4369-8686-a3bafec9f790",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a4027d87-df36-4704-88c3-c2a707040c40"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "dosageInstruction": [ {
+ "text": "bis zu 4mal täglich je 20-40 Tropfen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a4027d87-df36-4704-88c3-c2a707040c40",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03507952"
+ } ],
+ "text": "Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TEI"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24310bcf-e0ac-460e-8cd2-0999167ddf2b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e733b6e6-098f-4ba0-a782-927c6626349d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.xml
new file mode 100644
index 00000000..79aecd74
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_993f87d3/output.xml
@@ -0,0 +1,217 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/input.xml
new file mode 100644
index 00000000..ad94fe2c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/input.xml
@@ -0,0 +1,428 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.json
new file mode 100644
index 00000000..0268ff17
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "e9c5bdef-dd34-41f2-906c-679c40cba00b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.005.27"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "7292b94a-21f5-49a7-887d-6c6d10560c9b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/64760744-e7b5-4ad3-92d7-f160701f6e0d"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "dosageInstruction": [ {
+ "text": "bis zu 4mal täglich je 20-40 Tropfen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "64760744-e7b5-4ad3-92d7-f160701f6e0d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03507952"
+ } ],
+ "text": "Novaminsulfon 500 mg Lichtenstein 100 ml Tropf. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TEI"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "8fd314f6-6352-4e2b-9562-ca3948c6da73",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ee29d00a-00e8-40ea-b971-4668880c3138",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.xml
new file mode 100644
index 00000000..aa32126e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_Unfall_VerordnungArzt_e9c5bdef/output.xml
@@ -0,0 +1,217 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/input.xml
new file mode 100644
index 00000000..654b92d7
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.json
new file mode 100644
index 00000000..d206b6fb
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.json
@@ -0,0 +1,210 @@
+{
+ "resourceType": "Parameters",
+ "id": "6c2315ed-6f39-49eb-94c3-2c023cbd1d1c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.007.21"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2023-07-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "a008f09e-1096-45fb-9cbd-206d91b5ad7d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/acabd189-33f8-4b58-a885-ff9510db16be"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-27",
+ "note": [ {
+ "text": "Patient erneut auf Anwendung der Schmelztabletten hinweisen"
+ } ],
+ "dosageInstruction": [ {
+ "text": "1x täglich"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "acabd189-33f8-4b58-a885-ff9510db16be",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08850519"
+ } ],
+ "text": "Olanzapin Heumann 20mg 70 Schmelztbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SMT"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "70"
+ } ],
+ "unit": "Stück",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "89bd866a-c359-43c1-bace-f7b94e3f67e3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "723333300"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Psychiatrie und Psychotherapie",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030369258147"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9909894e-1b88-4003-bb82-c7108df73915",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "582369858"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Emilia Becker",
+ "family": "Becker",
+ "given": [ "Emilia" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.xml
new file mode 100644
index 00000000..a936d6d4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_6c2315ed/output.xml
@@ -0,0 +1,214 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/input.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/input.xml
new file mode 100644
index 00000000..cac9c04e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/log.txt b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.json b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.json
new file mode 100644
index 00000000..e0f88710
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.json
@@ -0,0 +1,210 @@
+{
+ "resourceType": "Parameters",
+ "id": "c3a1abbe-a6f6-4a8d-8aa4-469ee4157fe3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.007.21"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-11-27"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "09b48e2f-65ef-4964-9dc2-fdc8c16128b1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/c417363e-a7cd-443f-8e02-9d74d575bbd0"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-11-27",
+ "note": [ {
+ "text": "Patient erneut auf Anwendung der Schmelztabletten hinweisen"
+ } ],
+ "dosageInstruction": [ {
+ "text": "1x täglich"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "c417363e-a7cd-443f-8e02-9d74d575bbd0",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08850519"
+ } ],
+ "text": "Olanzapin Heumann 20mg 70 Schmelztbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SMT"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "70"
+ } ],
+ "unit": "Stück",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b2bfd8a2-5503-4a2d-9078-c33a3be0aca1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "723333300"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Psychiatrie und Psychotherapie",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030369258147"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "88b6286b-c4a3-4256-8945-40df5e6892c6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "582369858"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Emilia Becker",
+ "family": "Becker",
+ "given": [ "Emilia" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.xml b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.xml
new file mode 100644
index 00000000..db116b2d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleRepoTestData/valid/medicationPzn/PZN_aut_idem_VerordnungArzt_c3a1abbe/output.xml
@@ -0,0 +1,214 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/transformation_protocol.txt b/ePA-eML-Examples/ExampleTestData/transformation_protocol.txt
new file mode 100644
index 00000000..91376f3e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/transformation_protocol.txt
@@ -0,0 +1,40 @@
+Filename: kbv_1_1_0/bundle/dac55c3e-43cc-4109-ac4c-d6af9f83e868.xml
+ transform to valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003
+Filename: kbv_1_1_0/bundle/Beispiel_1.xml
+ transform to valid/medicationPzn/Beispiel_1_f12fa769
+Filename: kbv_1_1_0/bundle/Beispiel_2.xml
+ transform to valid/medicationPzn/Beispiel_2_2b6860ab
+Filename: kbv_1_1_0/bundle/Beispiel_3.xml
+ transform to valid/medicationPzn/Beispiel_3_fc33c82b
+Filename: kbv_1_1_0/bundle/Beispiel_4.xml
+ transform to valid/medicationPzn/Beispiel_4_cd2e731a
+Filename: kbv_1_1_0/medication_compounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5.xml
+ transform to valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99
+Filename: kbv_1_1_0/medication_compounding/76e83871-27f6-4625-9fb3-cadf6a13059f.xml
+ transform to valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350
+Filename: kbv_1_1_0/organization/cf042e44-086a-4d51-9c77-172f9a972e3b.xml
+ transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db
+Filename: kbv_1_1_0/organization/cf042e44-086a-4d51-9c77-172f9a972e4b.xml
+ transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973
+Filename: kbv_1_1_0/organization/cf042e44-086a-4d51-9c77-172f9a972e5b.xml
+ transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383
+Filename: kbv_1_1_0/organization/cf042e44-086a-4d51-9c77-172f9a972e6b.xml
+ transform to valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9
+Filename: kbv_1_1_0/medication_ingredient/86fa62c7-06a0-418e-ba26-e99baa053c07.xml
+ transform to valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891
+Filename: kbv_1_1_0/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a.xml
+ transform to valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af
+Filename: kbv_1_1_0/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a.xml
+ transform to valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef
+Filename: kbv_1_1_0/medication_freetext/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920.xml
+ transform to valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b
+Filename: kbv_1_1_0/medicationRequest/c0312f32-4f6c-49b3-b3f4-21506785d583.xml
+ transform to valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74
+Filename: kbv_1_1_0/medication_pzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4.xml
+ transform to valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f
+Filename: erp_workflow_1_2/medicationdispense/f64fd7b4-8720-4986-a3c3-11892afa2267.xml
+ transform to valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21
+Filename: erp_workflow_1_2/medicationdispense/26fbffa8-b0df-4074-b2cf-143269aff176.xml
+ transform to valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5
+Filename: erp_workflow_1_2/medicationdispense/Example-MedicationDispense_1_4.xml
+ transform to valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/input.xml
new file mode 100644
index 00000000..f1053d7b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/input.xml
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.json
new file mode 100644
index 00000000..340436d5
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.json
@@ -0,0 +1,120 @@
+{
+ "resourceType": "Medication",
+ "id": "858e8f99-1cc1-46a6-bcf1-f7a418b69f14",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Lösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Salicylsäure"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "2-propanol 70 %"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 100 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.xml
new file mode 100644
index 00000000..249f3c01
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/5cd916fc-2ae2-4148-b016-911ec5f4c0a5_858e8f99/output.xml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/input.xml
new file mode 100644
index 00000000..e5b4a597
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/input.xml
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.json
new file mode 100644
index 00000000..cc217ea9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.json
@@ -0,0 +1,120 @@
+{
+ "resourceType": "Medication",
+ "id": "8156e350-e6f6-498c-a1b8-3dfb637752f8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "form": {
+ "text": "Lösung"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "ml"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "text": "Salicylsäure"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "g",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ }, {
+ "itemCodeableConcept": {
+ "text": "2-propanol 70 %"
+ },
+ "strength": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
+ "valueString": "Ad 100 g"
+ } ],
+ "numerator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "_value": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.xml
new file mode 100644
index 00000000..0e118e20
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationCompounding/76e83871-27f6-4625-9fb3-cadf6a13059f_8156e350/output.xml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/input.xml
new file mode 100644
index 00000000..5f2d6e3b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/input.xml
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/log.txt
new file mode 100644
index 00000000..3bbc8cf2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/fc4434b8-d666-4a19-ae92-3c8b72feccd6*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/fc4434b8-d666-4a19-ae92-3c8b72feccd6*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/fc4434b8-d666-4a19-ae92-3c8b72feccd6*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.json
new file mode 100644
index 00000000..5b5bf546
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "eacd41b5-e5ae-422a-adc9-e5dfcb7f2af1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "fc4434b8-d666-4a19-ae92-3c8b72feccd6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.033.491.280.78"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/497eacbb-947e-4b67-9cab-6bddd9612a09"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X234567890"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/c069552a-8659-4347-bb0b-f53f7feb837f"
+ }
+ } ],
+ "whenHandedOver": "2022-02-28",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "497eacbb-947e-4b67-9cab-6bddd9612a09",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "value": 20,
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c069552a-8659-4347-bb0b-f53f7feb837f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Milton Yermouth"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.xml
new file mode 100644
index 00000000..a3610214
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/26fbffa8-b0df-4074-b2cf-143269aff176_eacd41b5/output.xml
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/input.xml
new file mode 100644
index 00000000..3669ac59
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/input.xml
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/log.txt
new file mode 100644
index 00000000..5d1c2b82
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/17020304-5dc7-491d-b884-6ac31521dd1e*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/17020304-5dc7-491d-b884-6ac31521dd1e*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/17020304-5dc7-491d-b884-6ac31521dd1e*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.json
new file mode 100644
index 00000000..d2ab20f2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "95ab7ff7-5bf8-4b2e-8ee1-28ef3cdc0779",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "17020304-5dc7-491d-b884-6ac31521dd1e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.033.491.280.78"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/13a7cdf5-795f-4153-bedb-a96b0dc10f76"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X234567890"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/7659f3b3-0728-45e9-97fe-c09bc4cb546e"
+ }
+ } ],
+ "whenHandedOver": "2022-02-28",
+ "dosageInstruction": [ {
+ "text": "1-0-1-0"
+ } ]
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "13a7cdf5-795f-4153-bedb-a96b0dc10f76",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "06313728"
+ } ],
+ "text": "Sumatriptan-1a Pharma 100 mg Tabletten"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "value": 20,
+ "unit": "St"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7659f3b3-0728-45e9-97fe-c09bc4cb546e",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-abc-1234567890"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Dwayne Pipe"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.xml
new file mode 100644
index 00000000..ff4bea03
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/Example-MedicationDispense_1_4_95ab7ff7/output.xml
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/input.xml
new file mode 100644
index 00000000..2fd55595
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/input.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/log.txt
new file mode 100644
index 00000000..0a5c6246
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=10,row=17,locationString=Parameters.parameter[0].part[0].resource/*MedicationDispense/fcd2a4a7-dd86-4aaf-8a7a-8173fcb39739*/.identifier[0],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.1.0-rc1,severity=information,sliceMessages=[Parameters.parameter[0].part[0].resource/*MedicationDispense/fcd2a4a7-dd86-4aaf-8a7a-8173fcb39739*/.identifier[0]: Does not match slice 'RxOriginatorProcessIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier').exists()), Parameters.parameter[0].part[0].resource/*MedicationDispense/fcd2a4a7-dd86-4aaf-8a7a-8173fcb39739*/.identifier[0]: Does not match slice 'EPADispensationIdentifier' (discriminator: $this.where(system = 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier').exists())]]
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.json
new file mode 100644
index 00000000..14b52b1f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.json
@@ -0,0 +1,118 @@
+{
+ "resourceType": "Parameters",
+ "id": "0f29ab21-4209-4182-9120-37ea94816851",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-dispensation-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "dispensation",
+ "part": [ {
+ "name": "medicationDispense",
+ "resource": {
+ "resourceType": "MedicationDispense",
+ "id": "fcd2a4a7-dd86-4aaf-8a7a-8173fcb39739",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.002.096.533.49"
+ } ],
+ "status": "completed",
+ "category": {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/EPAMedicationDispenseCategoryCS",
+ "code": "prescription",
+ "display": "prescription dispense"
+ } ]
+ },
+ "medicationReference": {
+ "reference": "Medication/62398c3b-c2c2-440c-83c0-ceaf9523be3b"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "performer": [ {
+ "actor": {
+ "reference": "Organization/fd6c8212-b461-471a-9fa5-5f75f50eee53"
+ }
+ } ],
+ "whenHandedOver": "2024-02-08"
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "62398c3b-c2c2-440c-83c0-ceaf9523be3b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "84264572"
+ } ],
+ "text": "Schmerzmittel"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ } ]
+ }, {
+ "name": "performerInstitution",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "fd6c8212-b461-471a-9fa5-5f75f50eee53",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Justin Case"
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.xml
new file mode 100644
index 00000000..edd17442
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationDispense/f64fd7b4-8720-4986-a3c3-11892afa2267_0f29ab21/output.xml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/input.xml
new file mode 100644
index 00000000..0d4842fd
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/input.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.json
new file mode 100644
index 00000000..5aea15d0
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.json
@@ -0,0 +1,20 @@
+{
+ "resourceType": "Medication",
+ "id": "03f2023b-7f44-4cf3-af1a-daa59c11d390",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ } ],
+ "code": {
+ "text": "Metformin 850mg Tabletten N3"
+ }
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.xml
new file mode 100644
index 00000000..c924cdf4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationFreeText/0d93504e-c6a7-47c1-8ad5-b0c5cf1b8920_03f2023b/output.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/input.xml
new file mode 100644
index 00000000..c11d2eb4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/input.xml
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.json
new file mode 100644
index 00000000..01e0abfc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.json
@@ -0,0 +1,77 @@
+{
+ "resourceType": "Medication",
+ "id": "7f3c3891-531d-4739-b183-d9cffdef77e6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "form": {
+ "text": "Tabletten"
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "100"
+ } ],
+ "unit": "Stück"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "ingredient": [ {
+ "itemCodeableConcept": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ask",
+ "code": "22686"
+ } ],
+ "text": "Ramipril"
+ },
+ "strength": {
+ "numerator": {
+ "value": 5,
+ "unit": "mg",
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ },
+ "denominator": {
+ "value": 1,
+ "_system": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ },
+ "_code": {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ } ]
+ }
+ }
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.xml
new file mode 100644
index 00000000..9c3a7fd9
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationIngredient/86fa62c7-06a0-418e-ba26-e99baa053c07_7f3c3891/output.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/input.xml
new file mode 100644
index 00000000..e6e9fe0a
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/input.xml
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.json
new file mode 100644
index 00000000..53f3792c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.json
@@ -0,0 +1,203 @@
+{
+ "resourceType": "Parameters",
+ "id": "f12fa769-5cc6-4b3e-b794-9dacfc76b73a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.006.24"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "1284b3a6-52aa-4eb4-b3ca-1c56202f3248",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/a907a18e-e16c-4dfb-a80c-bb778ee300d8"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "a907a18e-e16c-4dfb-a80c-bb778ee300d8",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "00814665"
+ } ],
+ "text": "Januvia® 50 mg 28 Filmtabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "71f52e98-6cb1-4fcf-96c8-c63fdd8781df",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "721111100"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a7ffbb57-fb3d-45be-b77c-c1a16dc36d39",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "123456628"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Paul Freiherr von Müller",
+ "family": "Freiherr von Müller",
+ "given": [ "Paul" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.xml
new file mode 100644
index 00000000..c6535f43
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_1_f12fa769/output.xml
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/input.xml
new file mode 100644
index 00000000..2a6cb1e2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/input.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.json
new file mode 100644
index 00000000..faba3f05
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.json
@@ -0,0 +1,210 @@
+{
+ "resourceType": "Parameters",
+ "id": "2b6860ab-aded-4421-839a-a43da53e19b1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.007.21"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "0472ea6f-c6de-42b3-b1cf-6f9e2bd81f6d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/fcab27f1-9e6f-4c10-a9e2-921641b7caf1"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "note": [ {
+ "text": "Patient erneut auf Anwendung der Schmelztabletten hinweisen"
+ } ],
+ "dosageInstruction": [ {
+ "text": "1x täglich"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "fcab27f1-9e6f-4c10-a9e2-921641b7caf1",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N3"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "08850519"
+ } ],
+ "text": "Olanzapin Heumann 20mg 70 Schmelztbl. N3"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "SMT"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "70"
+ } ],
+ "unit": "Stück",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "73e991f1-ebdb-4512-a7ac-0edce5cd9e08",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "723333300"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Praxis für Psychiatrie und Psychotherapie",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030369258147"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d9e9eed5-469d-4d17-925a-69d1a05a526b",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "582369858"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Emilia Becker",
+ "family": "Becker",
+ "given": [ "Emilia" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.xml
new file mode 100644
index 00000000..da18263c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_2_2b6860ab/output.xml
@@ -0,0 +1,214 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/input.xml
new file mode 100644
index 00000000..99796153
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/input.xml
@@ -0,0 +1,406 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.json
new file mode 100644
index 00000000..ca167469
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.json
@@ -0,0 +1,220 @@
+{
+ "resourceType": "Parameters",
+ "id": "fc33c82b-1f1c-41a1-8d3f-55dbb1ddf636",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.007.22"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "bfeabcd8-2d7b-44d4-93cd-f7a7b3637caa",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/daf1739f-83f2-4df8-9f39-a958c7cceff2"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "dosageInstruction": [ {
+ "text": "1-0-0-0"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "daf1739f-83f2-4df8-9f39-a958c7cceff2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "03879429"
+ } ],
+ "text": "Beloc-Zok® mite 47,5 mg, 30 Retardtabletten N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "RET"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "30"
+ } ],
+ "unit": "Stück",
+ "system": "http://unitsofmeasure.org",
+ "code": "{tbl}"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "2f748563-5337-451a-83c7-ed04a19946f3",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "999999900"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-749999999"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "MVZ",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ }, {
+ "system": "fax",
+ "value": "030123456789"
+ }, {
+ "system": "email",
+ "value": "mvz@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "0c7f7e79-1110-4f82-ac22-5850eb1e1783",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "999999900"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-748382202"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. med. Emma Schneider",
+ "family": "Schneider",
+ "given": [ "Emma" ],
+ "prefix": [ "Dr. med." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.xml
new file mode 100644
index 00000000..4ef660c6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_3_fc33c82b/output.xml
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/input.xml
new file mode 100644
index 00000000..13d36b8d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/input.xml
@@ -0,0 +1,425 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.json
new file mode 100644
index 00000000..bbaefe41
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.json
@@ -0,0 +1,218 @@
+{
+ "resourceType": "Parameters",
+ "id": "cd2e731a-2aa1-4fd9-b10d-d387f583fed2",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.100.000.000.008.18"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2022-05-20"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "ff0c7287-a123-4479-bcbe-ce952a3d4667",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/598e3618-5958-4ca8-8729-109d080dc586"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2022-05-20",
+ "note": [ {
+ "text": "Verwendung ohne Anlegen eines Verbandes"
+ } ],
+ "dosageInstruction": [ {
+ "text": "3mal täglich dünn auftragen"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "598e3618-5958-4ca8-8729-109d080dc586",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "02090906"
+ } ],
+ "text": "Fucidine® 20mg/g Creme 15g N1"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "CRE"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "15"
+ } ],
+ "unit": "g",
+ "system": "http://unitsofmeasure.org",
+ "code": "g"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f648fb24-9cf9-4c7a-a4b6-70b20870de92",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "724444400"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis",
+ "telecom": [ {
+ "system": "phone",
+ "value": "030321654987"
+ }, {
+ "system": "email",
+ "value": "hausarztpraxis@e-mail.de"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Herbert-Lewin-Platz 2", "Erdgeschoss" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Herbert-Lewin-Platz"
+ } ]
+ }, {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
+ "valueString": "Erdgeschoss"
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2a4ea6b7-3b61-4542-8ffb-53fec0f64d2c",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "754236701"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Ben Schulz",
+ "family": "Schulz",
+ "given": [ "Ben" ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.xml
new file mode 100644
index 00000000..bd6704a2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/Beispiel_4_cd2e731a/output.xml
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/input.xml
new file mode 100644
index 00000000..09afca96
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/input.xml
@@ -0,0 +1,381 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.json
new file mode 100644
index 00000000..9493bdf3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.json
@@ -0,0 +1,212 @@
+{
+ "resourceType": "Parameters",
+ "id": "816f5003-c342-469e-a64f-01e223524bf6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-provide-prescription-erp-input-parameters" ]
+ },
+ "parameter": [ {
+ "name": "rxPrescription",
+ "part": [ {
+ "name": "prescriptionId",
+ "valueIdentifier": {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "160.000.226.119.770.62"
+ }
+ }, {
+ "name": "authoredOn",
+ "valueDate": "2024-02-08"
+ }, {
+ "name": "medicationRequest",
+ "resource": {
+ "resourceType": "MedicationRequest",
+ "id": "3573b273-a2e9-4ac6-a3c8-ab895ef75032",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/b0faa733-6a1a-4942-9f2a-d169057ee4e6"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2024-02-08",
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": false
+ }
+ }
+ }, {
+ "name": "medication",
+ "resource": {
+ "resourceType": "Medication",
+ "id": "b0faa733-6a1a-4942-9f2a-d169057ee4e6",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "00"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "NB"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "61252891"
+ } ],
+ "text": "Gemvomilsäure"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "TAB"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "1"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ }
+ }
+ }, {
+ "name": "organization",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0a6b6e2c-3bac-4e16-88c1-a6ccd7eb5bd5",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "614137063"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Arztpraxis Arzt",
+ "telecom": [ {
+ "system": "phone",
+ "value": "+49-073-0437663"
+ }, {
+ "system": "email",
+ "value": "teresa.roggatz@evers.name"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Burgweg 88" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "88"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Burgweg"
+ } ]
+ } ],
+ "city": "Jonland",
+ "postalCode": "15501",
+ "country": "D"
+ } ]
+ }
+ }, {
+ "name": "practitioner",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d07578ee-14c7-4ff4-8c27-2f9e2f162e0a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "176464353"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Kein Arzt",
+ "family": "Arzt",
+ "given": [ "Kein" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+ }
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.xml
new file mode 100644
index 00000000..d95feb26
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/dac55c3e-43cc-4109-ac4c-d6af9f83e868_816f5003/output.xml
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/input.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/input.xml
new file mode 100644
index 00000000..7d393b3f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/input.xml
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/log.txt b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.json b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.json
new file mode 100644
index 00000000..639e68f4
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.json
@@ -0,0 +1,49 @@
+{
+ "resourceType": "Medication",
+ "id": "74cc0c8f-d767-4454-8d85-c3039c9f266d",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
+ "valueCoding": {
+ "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
+ "code": "01"
+ }
+ }, {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
+ "valueBoolean": false
+ }, {
+ "url": "http://fhir.de/StructureDefinition/normgroesse",
+ "valueCode": "N1"
+ } ],
+ "code": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/ifa/pzn",
+ "code": "04100230"
+ } ],
+ "text": "IBUFLAM akut"
+ },
+ "form": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
+ "code": "FTA"
+ } ]
+ },
+ "amount": {
+ "numerator": {
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
+ "valueString": "10"
+ } ],
+ "unit": "Stk"
+ },
+ "denominator": {
+ "value": 1
+ }
+ },
+ "batch": {
+ "lotNumber": "8520897878",
+ "expirationDate": "2024-02-21T10:05:01+01:00"
+ }
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.xml b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.xml
new file mode 100644
index 00000000..0d7f15ef
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/medicationPzn/fb0699b9-121e-41d1-826e-a4a0072ad0b4_74cc0c8f/output.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/input.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/input.xml
new file mode 100644
index 00000000..5c7de823
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/input.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/log.txt b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/log.txt
new file mode 100644
index 00000000..ba74cde3
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=4,row=49,locationString=Organization.identifier[4],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.8,severity=information,sliceMessages=[Organization.identifier[4]: Does not match slice 'TelematikID' (discriminator: ('https://gematik.de/fhir/sid/telematik-id' in system)), Organization.identifier[4]: Does not match slice 'BSNR' (discriminator: ('https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR' in system)), Organization.identifier[4]: Does not match slice 'KZVA' (discriminator: ('http://fhir.de/sid/kzbv/kzvabrechnungsnummer' in system)), Organization.identifier[4]: Does not match slice 'IKNR' (discriminator: ('http://fhir.de/sid/arge-ik/iknr' in system))]]
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.json
new file mode 100644
index 00000000..fe7b643e
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.json
@@ -0,0 +1,85 @@
+{
+ "resourceType": "Organization",
+ "id": "1e5b49db-8cfa-40de-9394-14fc0d0cefdc",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "031234567"
+ }, {
+ "use": "official",
+ "type": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
+ "code": "KZVA"
+ } ]
+ },
+ "system": "http://fhir.de/sid/kzbv/kzvabrechnungsnummer",
+ "value": "036004328"
+ }, {
+ "use": "official",
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "XX"
+ } ]
+ },
+ "system": "http://fhir.de/sid/arge-ik/iknr",
+ "value": "825868088"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type",
+ "code": "KSN"
+ } ]
+ },
+ "system": "http://fhir.de/sid/dkgev/standortnummer",
+ "value": "123456"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis Dr. Topp-Glücklich",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Musterstr. 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Musterstr."
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623"
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.xml
new file mode 100644
index 00000000..d8e9638c
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e3b_1e5b49db/output.xml
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/input.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/input.xml
new file mode 100644
index 00000000..936d941d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/input.xml
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/log.txt b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/log.txt
new file mode 100644
index 00000000..ec11a793
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=4,row=39,locationString=Organization.identifier[3],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.8,severity=information,sliceMessages=[Organization.identifier[3]: Does not match slice 'TelematikID' (discriminator: ('https://gematik.de/fhir/sid/telematik-id' in system)), Organization.identifier[3]: Does not match slice 'BSNR' (discriminator: ('https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR' in system)), Organization.identifier[3]: Does not match slice 'KZVA' (discriminator: ('http://fhir.de/sid/kzbv/kzvabrechnungsnummer' in system)), Organization.identifier[3]: Does not match slice 'IKNR' (discriminator: ('http://fhir.de/sid/arge-ik/iknr' in system))]]
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.json
new file mode 100644
index 00000000..3307fc9d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.json
@@ -0,0 +1,75 @@
+{
+ "resourceType": "Organization",
+ "id": "1e01a973-a5ae-4304-90c8-f03d95c4444f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "BSNR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
+ "value": "031234567"
+ }, {
+ "use": "official",
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "XX"
+ } ]
+ },
+ "system": "http://fhir.de/sid/arge-ik/iknr",
+ "value": "825868088"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type",
+ "code": "KSN"
+ } ]
+ },
+ "system": "http://fhir.de/sid/dkgev/standortnummer",
+ "value": "123456"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis Dr. Topp-Glücklich",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Musterstr. 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Musterstr."
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623"
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.xml
new file mode 100644
index 00000000..f99b4920
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e4b_1e01a973/output.xml
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/input.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/input.xml
new file mode 100644
index 00000000..83aea51b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/input.xml
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/log.txt b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/log.txt
new file mode 100644
index 00000000..8137f1f2
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=4,row=40,locationString=Organization.identifier[3],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.8,severity=information,sliceMessages=[Organization.identifier[3]: Does not match slice 'TelematikID' (discriminator: ('https://gematik.de/fhir/sid/telematik-id' in system)), Organization.identifier[3]: Does not match slice 'BSNR' (discriminator: ('https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR' in system)), Organization.identifier[3]: Does not match slice 'KZVA' (discriminator: ('http://fhir.de/sid/kzbv/kzvabrechnungsnummer' in system)), Organization.identifier[3]: Does not match slice 'IKNR' (discriminator: ('http://fhir.de/sid/arge-ik/iknr' in system))]]
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.json
new file mode 100644
index 00000000..99e9a479
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.json
@@ -0,0 +1,76 @@
+{
+ "resourceType": "Organization",
+ "id": "d618a383-4639-4e3c-b48a-a21c27aea420",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "use": "official",
+ "type": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
+ "code": "KZVA"
+ } ]
+ },
+ "system": "http://fhir.de/sid/kzbv/kzvabrechnungsnummer",
+ "value": "036004328"
+ }, {
+ "use": "official",
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "XX"
+ } ]
+ },
+ "system": "http://fhir.de/sid/arge-ik/iknr",
+ "value": "825868088"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type",
+ "code": "KSN"
+ } ]
+ },
+ "system": "http://fhir.de/sid/dkgev/standortnummer",
+ "value": "123456"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis Dr. Topp-Glücklich",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Musterstr. 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Musterstr."
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623"
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.xml
new file mode 100644
index 00000000..acab8adc
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e5b_d618a383/output.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/input.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/input.xml
new file mode 100644
index 00000000..a14fef65
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/input.xml
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/log.txt b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/log.txt
new file mode 100644
index 00000000..8736fe77
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/log.txt
@@ -0,0 +1,3 @@
+Fhir Validation result: valid
+
+SingleValidationMessage[col=4,row=20,locationString=Organization.identifier[1],message=This element does not match any known slice defined in the profile https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|0.11.8,severity=information,sliceMessages=[Organization.identifier[1]: Does not match slice 'TelematikID' (discriminator: ('https://gematik.de/fhir/sid/telematik-id' in system)), Organization.identifier[1]: Does not match slice 'BSNR' (discriminator: ('https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR' in system)), Organization.identifier[1]: Does not match slice 'KZVA' (discriminator: ('http://fhir.de/sid/kzbv/kzvabrechnungsnummer' in system)), Organization.identifier[1]: Does not match slice 'IKNR' (discriminator: ('http://fhir.de/sid/arge-ik/iknr' in system))]]
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.json b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.json
new file mode 100644
index 00000000..2d3bcb92
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.json
@@ -0,0 +1,56 @@
+{
+ "resourceType": "Organization",
+ "id": "4a939ea9-a628-44c9-9752-70c51bf45dfd",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type",
+ "code": "KSN"
+ } ]
+ },
+ "system": "http://fhir.de/sid/dkgev/standortnummer",
+ "value": "123456"
+ } ],
+ "type": [ {
+ "coding": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
+ "code": "1.2.276.0.76.4.58"
+ } ]
+ } ],
+ "name": "Hausarztpraxis Dr. Topp-Glücklich",
+ "telecom": [ {
+ "system": "phone",
+ "value": "0301234567"
+ } ],
+ "address": [ {
+ "type": "both",
+ "line": [ "Musterstr. 2" ],
+ "_line": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
+ "valueString": "2"
+ }, {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
+ "valueString": "Musterstr."
+ } ]
+ } ],
+ "city": "Berlin",
+ "postalCode": "10623"
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.xml b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.xml
new file mode 100644
index 00000000..a34b0064
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/organization/cf042e44-086a-4d51-9c77-172f9a972e6b_4a939ea9/output.xml
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/input.xml b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/input.xml
new file mode 100644
index 00000000..8dcf2be6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/input.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/log.txt b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.json b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.json
new file mode 100644
index 00000000..a678a730
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.json
@@ -0,0 +1,44 @@
+{
+ "resourceType": "Practitioner",
+ "id": "6b3963af-e254-4a7c-963c-422a71f1793a",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "LANR"
+ } ]
+ },
+ "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
+ "value": "176464353"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Kein Arzt abc",
+ "family": "Arzt",
+ "given": [ "Kein" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ],
+ "suffix": [ "abc" ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.xml b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.xml
new file mode 100644
index 00000000..81677c66
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930027a_6b3963af/output.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/input.xml b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/input.xml
new file mode 100644
index 00000000..4bfd9e38
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/input.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/log.txt b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.json b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.json
new file mode 100644
index 00000000..46a34fc6
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.json
@@ -0,0 +1,44 @@
+{
+ "resourceType": "Practitioner",
+ "id": "382caeef-4a0e-4723-8d83-10f9a253609f",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ],
+ "tag": [ {
+ "system": "https://gematik.de/fhir/directory/CodeSystem/Origin",
+ "code": "ldap"
+ } ]
+ },
+ "identifier": [ {
+ "use": "official",
+ "type": {
+ "coding": [ {
+ "system": "http://fhir.de/CodeSystem/identifier-type-de-basis",
+ "code": "ZANR"
+ } ]
+ },
+ "system": "http://fhir.de/sid/kzbv/zahnarztnummer",
+ "value": "585313091"
+ }, {
+ "type": {
+ "coding": [ {
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code": "PRN"
+ } ]
+ },
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "1-031234567"
+ } ],
+ "name": [ {
+ "use": "official",
+ "text": "Dr. Kein Arzt",
+ "family": "Arzt",
+ "given": [ "Kein" ],
+ "prefix": [ "Dr." ],
+ "_prefix": [ {
+ "extension": [ {
+ "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
+ "valueCode": "AC"
+ } ]
+ } ]
+ } ]
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.xml b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.xml
new file mode 100644
index 00000000..983dd573
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/practitioner/4a048d7d-e9de-4393-ac4f-beb6b930127a_382caeef/output.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/input.xml b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/input.xml
new file mode 100644
index 00000000..7eb8531d
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/input.xml
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/log.txt b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/log.txt
new file mode 100644
index 00000000..a7d0a24f
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/log.txt
@@ -0,0 +1,2 @@
+Fhir Validation result: valid
+
diff --git a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.json b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.json
new file mode 100644
index 00000000..002d9c47
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.json
@@ -0,0 +1,39 @@
+{
+ "resourceType": "MedicationRequest",
+ "id": "ffaf6f74-3052-4632-ad64-5778accd41ca",
+ "meta": {
+ "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ]
+ },
+ "extension": [ {
+ "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension",
+ "extension": [ {
+ "url": "indicator",
+ "valueBoolean": false
+ } ]
+ } ],
+ "status": "active",
+ "intent": "order",
+ "medicationReference": {
+ "reference": "Medication/26d162c-59b6-465d-a8e1-91b570461e8f"
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/gkv/kvid-10",
+ "value": "K220635158"
+ }
+ },
+ "authoredOn": "2023-07-11",
+ "dosageInstruction": [ {
+ "text": "1-1-1-1"
+ } ],
+ "dispenseRequest": {
+ "quantity": {
+ "value": 1,
+ "system": "http://unitsofmeasure.org",
+ "code": "{Package}"
+ }
+ },
+ "substitution": {
+ "allowedBoolean": true
+ }
+}
\ No newline at end of file
diff --git a/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.xml b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.xml
new file mode 100644
index 00000000..db5e5d1b
--- /dev/null
+++ b/ePA-eML-Examples/ExampleTestData/valid/unknown/c0312f32-4f6c-49b3-b3f4-21506785d583_ffaf6f74/output.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file